menu

WinForms

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

    Show / Hide Table of Contents

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