menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SelectionChangingEventArgs - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SelectionChangingEventArgs

    Provides data for the SelectionChanging event.

    Inheritance
    System.Object
    SelectionChangingEventArgs
    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 null.

    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 false.

    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>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved