Back to Devexpress

CalendarControlBase.CalendarView Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-calendarcontrolbase-41131d29.md

latest3.6 KB
Original Source

CalendarControlBase.CalendarView Property

Gets or sets the calendar display mode.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(CalendarView.Default)]
[DXCategory("Behavior")]
public virtual CalendarView CalendarView { get; set; }
vb
<DefaultValue(CalendarView.Default)>
<DXCategory("Behavior")>
Public Overridable Property CalendarView As CalendarView

Property Value

TypeDefaultDescription
CalendarViewDefault

The calendar display mode.

|

Available values:

NameDescription
Default

The appearance of the calendar is dependent on the current OS.

| | Vista |

The Vista-style calendar:

| | Classic |

The classic calendar:

| | TouchUI |

The touch-aware date-editing UI:

For a DateEdit control, the control’s mask (see the RepositoryItemTextEdit.MaskSettings) specifies which date-time columns are displayed in the dropdown calendar.

To display time columns, enable the RepositoryItemDateEdit.CalendarTimeEditing option.

| | ClassicNew |

An Outlook 2016-inspired calendar style.

| | Fluent |

The calendar that supports the Acrylic and Reveal Highlight effects and allows you to mirror the appearance of the Windows 10 calendar.

|

Remarks

The CalendarView property specifies the appearance of the calendar.

To allow end-users to edit the time portion of a date value via the calendar, use the CalendarControlBase.CalendarTimeEditing property.

See Also

CalendarTimeEditing

CalendarDateEditing

CalendarControlBase Class

CalendarControlBase Members

DevExpress.XtraEditors.Controls Namespace