Class SelectionChangingEventArgs
Provides data for the SelectionChanging event of the SfCalendar control.
Inheritance
System.Object
SelectionChangingEventArgs
Namespace: Syncfusion.WinForms.Input.Events
Assembly: Syncfusion.SfInput.WinForms.dll
Syntax
public class SelectionChangingEventArgs : CancelEventArgs
Constructors
SelectionChangingEventArgs(Nullable<DateTime>, Nullable<DateTime>)
Initializes a new instance of the SelectionChangingEventArgs class.
Declaration
public SelectionChangingEventArgs(DateTime? oldValue, DateTime? newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.DateTime> | oldValue | Old selected date. |
System.Nullable<System.DateTime> | newValue | New selected date. |
Properties
NewValue
Gets the new SelectedDate for SfCalendar.
Declaration
public DateTime? NewValue { get; }
Property Value
Type |
---|
System.Nullable<System.DateTime> |
OldValue
Gets the old SelectedDate of SfCalendar.
Declaration
public DateTime? OldValue { get; }
Property Value
Type |
---|
System.Nullable<System.DateTime> |