Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CalendarControlBase.CalendarView Property

Gets or sets the calendar display mode.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(CalendarView.Default)]
[DXCategory("Behavior")]
public virtual CalendarView CalendarView { get; set; }

#Property Value

Type Default Description
CalendarView Default

The calendar display mode.

Available values:

Name Description
Default

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

Vista

The Vista-style calendar:

DateEdit-CalendarView-Vista DateEdit-CalendarView-Vista-EditTime

Classic

The classic calendar:

DateEdit-CalendarView-Classic   DateEdit-Classic-time.png

TouchUI

The touch-aware date-editing UI:

DateEdit-CalendarView-TouchUI   DateEdit-TouchUI-time.png

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.

DateEdit-ClassicNew0.png   DateEdit-ClassicNew-Time.png

Fluent

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

Fluent_DateEdit Fluent_DateEdit_Time

#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