Skip to main content

RepositoryItemDateEdit.CalendarView Property

Gets or sets the appearance of the calendar in the drop-down window.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v22.1.dll

NuGet Package: DevExpress.Win.Navigation


public CalendarView CalendarView { get; set; }

Property Value

Type Default Description
CalendarView Default

A CalendarView enumearation value that specifies the calendar appearance.

Available values:

Name Description

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


The Vista-style calendar:

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


The classic calendar:

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


The touch-aware date-editing UI:

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

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

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


An Outlook 2016-inspired calendar style.

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


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


The CalendarView property specifies the appearance of the calendar in the drop-down window. To allow users to edit the time portion of a date-time value using the drop-down calendar, enable the RepositoryItemDateEdit.CalendarTimeEditing property.

using DevExpress.Utils;
using DevExpress.XtraEditors.Repository;

dateEdit1.Properties.CalendarView = CalendarView.Fluent;
dateEdit1.Properties.CalendarTimeEditing = DefaultBoolean.True;
See Also