Back to Devexpress

CalendarControlBase.ReadOnly Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-calendarcontrolbase-a1466df7.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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

|

See Also

SelectionMode

SelectedRanges

EditValue

DateTime

CalendarControlBase Class

CalendarControlBase Members

DevExpress.XtraEditors.Controls Namespace