Skip to main content
A newer version of this page is available. .

CalendarControlBase.ReadOnly Property

Gets or sets whether the Calendar is read-only, and thus an end-user is not able to change the date selection (CalendarControlBase.SelectedRanges) and edit value (CalendarControlBase.EditValue/CalendarControlBase.DateTime).

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public bool ReadOnly { get; set; }

Property Value

Type Default Description
Boolean **false**

true, if the Calendar is read-only; otherwise, false.

See Also