Xceed DataGrid for WPF v7.2 Documentation
SelectedDate Property


Xceed.Wpf.Controls Assembly > Xceed.Wpf.Controls Namespace > DatePicker Class : SelectedDate Property
Gets or sets the selected date.
Syntax
'Declaration
 
Public Property SelectedDate As Nullable(Of Date)
'Usage
 
Dim instance As DatePicker
Dim value As Nullable(Of Date)
 
instance.SelectedDate = value
 
value = instance.SelectedDate
public Nullable<DateTime> SelectedDate {get; set;}

Property Value

A DateTime value representing the selected date. By default, DateTime.Now.Date.
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

DatePicker Class
DatePicker Members