menu

WinForms

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

    Show / Hide Table of Contents

    Class DateTimeValueChangedEventArgs

    Provides data for the DateTimeValueChangedEventArgs event of the SfDateTimeEdit control.

    Inheritance
    System.Object
    System.EventArgs
    DateTimeValueChangedEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.WinForms.Input.Events
    Assembly: Syncfusion.SfInput.WinForms.dll
    Syntax
    public class DateTimeValueChangedEventArgs : EventArgs

    Constructors

    DateTimeValueChangedEventArgs(Nullable<DateTime>, Nullable<DateTime>)

    Initializes a new instance of the DateTimeValueChangedEventArgs class.

    Declaration
    public DateTimeValueChangedEventArgs(DateTime? oldValue, DateTime? newValue)
    Parameters
    Type Name Description
    System.Nullable<System.DateTime> oldValue

    new value of DateTime

    System.Nullable<System.DateTime> newValue

    old value of DateTime

    Properties

    NewValue

    Gets new value of SfDateTimeEdit.

    Declaration
    public DateTime? NewValue { get; }
    Property Value
    Type
    System.Nullable<System.DateTime>

    OldValue

    Gets old value of SfDateTimeEdit.

    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