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.v19.2.dll
Declaration
[DefaultValue(true)]
[DXCategory("Behavior")]
public bool SyncSelectionWithEditValue { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true if the current selection is automatically set to the edit date (CalendarControlBase.DateTime/CalendarControlBase.EditValue) once the edit date is changed; otherwise false. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SyncSelectionWithEditValue property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
SyncSelectionWithEditValue