windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-calendarcontrolbase-4aabc534.md
Allows you to assign an ICalendarDisabledDateProvider object that can disable certain dates to prevent them from being selected by an end-user.
Namespace : DevExpress.XtraEditors.Controls
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(null)]
[DXCategory("Behavior")]
public ICalendarDisabledDateProvider DisabledDateProvider { get; set; }
<DefaultValue(Nothing)>
<DXCategory("Behavior")>
Public Property DisabledDateProvider As ICalendarDisabledDateProvider
| Type | Default | Description |
|---|---|---|
| DevExpress.XtraEditors.Controls.ICalendarDisabledDateProvider | null |
An object that can disable certain dates to prevent them from being selected by an end-user.
|
You can disable certain dates in the Calendar by using one of the following approaches:
Disabled dates are painted with a strikethrough. You can provide custom appearance settings used to paint disabled dates with the CalendarControlBase.CalendarAppearance property.
See Also