Skip to main content

CalendarControlBase.VistaCalendarViewStyle Property

Gets or sets which date grouping Views are available in Vista display mode.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
VistaCalendarViewStyle Default

A VistaCalendarViewStyle value that specifies which date grouping Views are available in Vista display mode.

Available values:

Name Description
Default

Combines the following views: MonthView, YearView, YearsGroupView and CenturyView.

MonthView

A month view:

DateEdit-MonthView.png

YearView

A year view by months:

DateEdit-YearView.png

QuarterView

A year view by quarters:

DateEdit-QtrView.png

YearsGroupView

A 12-years view:

DateEdit-YearsGroupView.png

CenturyView

A century view:

DateEdit-CenturyView.png

All

Combines the following views: MonthView, QuarterView, YearView, YearsGroupView and CenturyView.

Remarks

The Vista display mode can be enabled with the CalendarControlBase.CalendarView property. In this mode, you can use the VistaCalendarViewStyle property to specify which date grouping Views are available to end-users.

See Also