Skip to main content

RepositoryItemDateEdit.VistaCalendarInitialViewStyle Property

Gets or sets the initial date grouping View that is enabled when a date editor opens.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(VistaCalendarInitialViewStyle.MonthView)]
[DXCategory("Appearance")]
public VistaCalendarInitialViewStyle VistaCalendarInitialViewStyle { get; set; }

Property Value

Type Default Description
DevExpress.XtraEditors.VistaCalendarInitialViewStyle MonthView

A VistaCalendarInitialViewStyle enumeration value that specifies the initial date grouping View that is enabled when a date editor opens.

Remarks

If the RepositoryItemDateEdit.CalendarView property is set to Vista, you can use the VistaCalendarInitialViewStyle property to specify the initial date grouping View that is enabled when a date editor opens.

To specify which date grouping Views are available to end-users, use the RepositoryItemDateEdit.VistaCalendarViewStyle property. If the VistaCalendarInitialViewStyle property is set to a View that is not available, the closest grouping View is used.

See Also