Class DateValueEventArgs
Provides data for the DateValueChanging and DateValueChanged event.
Inheritance
System.Object
DateValueEventArgs
Namespace: Syncfusion.Windows.Forms.Schedule
Assembly: Syncfusion.Schedule.Windows.dll
Syntax
public class DateValueEventArgs : CancelEventArgs
Constructors
DateValueEventArgs(DateTime, DateTime)
Initializes a new instance of the DateValueEventArgs class.
Declaration
public DateValueEventArgs(DateTime oldDate, DateTime proposedDate)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | oldDate | The value of ScheduleControl.DateValue |
System.DateTime | proposedDate | The value of ScheduleControl.DateValue after the change if the event is not cancelled. |
Properties
OldDate
Gets or sets the existing value of ScheduleControl.DateValue.
Declaration
public DateTime OldDate { get; set; }
Property Value
Type |
---|
System.DateTime |
ProposedDate
Gets or sets the new value for ScheduleControl.DateValue.
Declaration
public DateTime ProposedDate { get; set; }
Property Value
Type |
---|
System.DateTime |