Xceed DataGrid for WPF v7.2 Documentation
SyncCalendarWithSelectedDate Property


Xceed.Wpf.Controls Assembly > Xceed.Wpf.Controls Namespace > DatePicker Class : SyncCalendarWithSelectedDate Property
Gets or sets a value indicating if the date displayed in the DatePicker's calendar and the SelectedDate displayed in the DatePicker's text box should always be synchronized.
Syntax
'Declaration
 
Public Property SyncCalendarWithSelectedDate As Boolean
'Usage
 
Dim instance As DatePicker
Dim value As Boolean
 
instance.SyncCalendarWithSelectedDate = value
 
value = instance.SyncCalendarWithSelectedDate
public bool SyncCalendarWithSelectedDate {get; set;}

Property Value

true if the date displayed in the DatePicker's calendar and the SelectedDate displayed in the DatePicker's text box should always be synchronized; false otherwise. By default, false.
Remarks

If the SyncCalendarWithSelectedDate property is set to true, changes made to the SelectedDate will also be applied to the DisplayedMonth/DisplayedYear properties.

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