Back to Devexpress

CalendarControlBase.SyncSelectionWithEditValue Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-calendarcontrolbase-3ace1942.md

latest3.2 KB
Original Source

CalendarControlBase.SyncSelectionWithEditValue Property

Gets or sets whether changing the CalendarControlBase.DateTime/CalendarControlBase.EditValue property updates the current selection.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
public bool SyncSelectionWithEditValue { get; set; }
vb
<DefaultValue(True)>
<DXCategory("Behavior")>
Public Property SyncSelectionWithEditValue As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the current selection is automatically set to the edit date (CalendarControlBase.DateTime/CalendarControlBase.EditValue) once the edit date is changed; otherwise false.

|

See Also

AddSelection

HighlightSelection

SelectedRanges

SelectionBehavior

SelectionChanged

SelectionEnd

SelectionMode

SelectionStart

SetSelection

SyncSelectionWithEditValue

UpdateSelectionWhenNavigating

ShowClearButton

EditValue

DateTime

CalendarControlBase Class

CalendarControlBase Members

DevExpress.XtraEditors.Controls Namespace