Xceed Toolkit Plus for WPF v4.6 Documentation
OnValueChanged Method (DateTimePicker)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > DateTimePicker Class : OnValueChanged Method
The old DateTime value.
The new DateTime value.
Called when the DateTimePicker'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 DateTimePicker

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 DateTime value.
newValue
The new DateTime 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

Reference

DateTimePicker Class
DateTimePicker Members
Base Implementation in OnValueChanged