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.v20.1.dll

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public bool ReadOnly { get; set; }
<DefaultValue(False)>
<DXCategory("Behavior")>
Public Property ReadOnly As Boolean

Property Value

Type Default Description
Boolean

false

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

See Also