Class SelectionChangingEventArgs
Provides data for the SelectionChanging event.
Inheritance
Namespace: Syncfusion.UI.Xaml.Scheduler
Assembly: Syncfusion.Scheduler.WinUI.dll
Syntax
public class SelectionChangingEventArgs : CancelEventArgs
Constructors
SelectionChangingEventArgs()
Declaration
public SelectionChangingEventArgs()
Properties
NewResource
Gets the newly selected resource details when the scheduler ResourceGroupType is Resource or Date.
Declaration
public SchedulerResource NewResource { get; }
Property Value
Type | Description |
---|---|
SchedulerResource | The default value is |
Remarks
If the selected date change is in the same resources, then OldResource and NewResource value will be the same. The Data can be used to retrieve the custom resource details that were added by using the ResourceMapping property.
NewValue
Gets a new selected date.
Declaration
public Nullable<DateTime> NewValue { get; }
Property Value
Type |
---|
System.Nullable<System.DateTime> |
OldResource
Gets the previously selected resource details when the scheduler ResourceGroupType is Resource or Date.
Declaration
public SchedulerResource OldResource { get; }
Property Value
Type | Description |
---|---|
SchedulerResource | The default value is |
Remarks
If the selected date change is in the same resources, then OldResource and NewResource value will be the same. The Data can be used to retrieve the custom resource details that were added by using the ResourceMapping property.
OldValue
Gets a old selected date.
Declaration
public Nullable<DateTime> OldValue { get; }
Property Value
Type |
---|
System.Nullable<System.DateTime> |