HeaderPane
Main
Hide
Share Link
Print

DateEventArgs Class

Provides data for events that report a date.

Namespace: Softelvdm.SftDateNET
Assembly: Softelvdm.SftDateNET

Inheritance

Syntax

public class DateEventArgs : System.EventArgs;
Public Class DateEventArgs
    Inherits System.EventArgs

Constructors

This class cannot be instantiated.

Properties

PublicDateReturns the date.

Fields

PublicStaticInherited from System.EventArgsEmptyProvides a value to use with events that do not have event data.

Methods

PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

Examples

C# View entire sample code

        private void sftCalendar1_ValueChanged(object sender, EventArgs e) {
            DumpValues("sftCalendar1.ValueChanged (" + sftCalendar1.Value + ")", e);
        }

        private void sftCalendar1_RangeChanged(object sender, EventArgs e) {
            DumpValues("sftCalendar1.RangeChanged", e);
        }

        private void sftCalendar1_DateActivated(object sender, DateEventArgs e) {
            DumpValues("sftCalendar1.DateActivated", e);
        }

        private void sftCalendar1_ViewChanged(object sender, EventArgs e) {
            DumpValues("sftCalendar1.ViewChanged (" + sftCalendar1.View + ")", e);
        }

VB.NET View entire sample code

    Private Sub SftCalendar1_ValueChanged(ByVal sender As Object, ByVal e As EventArgs) Handles SftCalendar1.ValueChanged
        DumpValues("SftCalendar1.ValueChanged (" + Describe(SftCalendar1.Value) + ")", e)
    End Sub

    Private Sub SftCalendar1_RangeChanged(ByVal sender As Object, ByVal e As EventArgs) Handles SftCalendar1.RangeChanged
        DumpValues("SftCalendar1.RangeChanged", e)
    End Sub

    Private Sub SftCalendar1_DateActivated(ByVal sender As Object, ByVal e As DateEventArgs) Handles SftCalendar1.DateActivated
        DumpValues("SftCalendar1.DateActivated", e)
    End Sub

    Private Sub SftCalendar1_ViewChanged(ByVal sender As Object, ByVal e As EventArgs) Handles SftCalendar1.ViewChanged
        DumpValues("SftCalendar1.ViewChanged (" + SftCalendar1.View.ToString() + ")", e)
    End Sub

See Also Classes | SftDate/NET 3.0