Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / DateTimeUpDown Class / OnValueChanged Method
The old value.
The new value.


In This Topic
    OnValueChanged Method (DateTimeUpDown)
    In This Topic
    Called when the DateTimeUpDown's value changes.
    Syntax
    'Declaration
     
    Protected Overrides Sub OnValueChanged( _
       ByVal oldValue As Nullable(Of Date), _
       ByVal newValue As Nullable(Of Date) _
    ) 
    'Usage
     
    Dim instance As DateTimeUpDown
    Dim oldValue As Nullable(Of Date)
    Dim newValue As Nullable(Of Date)
     
    instance.OnValueChanged(oldValue, newValue)
    protected override void OnValueChanged( 
       Nullable<DateTime> oldValue,
       Nullable<DateTime> newValue
    )

    Parameters

    oldValue
    The old value.
    newValue
    The new value.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also