Skip to main content
A newer version of this page is available. .

RepositoryItemDateEdit.VistaDisplayMode Property

Gets or sets whether the editor’s dropdown calendar looks and functions like the Date Editor in Windows Vista.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public virtual DefaultBoolean VistaDisplayMode { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean value that specifies whether the editor’s dropdown calendar looks and functions like the Date Editor in Windows Vista.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

This VistaDisplayMode property is in sync with the RepositoryItemDateEdit.CalendarView property. We suggest that you use the RepositoryItemDateEdit.CalendarView property instead of the VistaDisplayMode property.

Changing the VistaDisplayMode property has effect only if the RepositoryItemDateEdit.CalendarView property is set to Default.

This property is treated as disabled (DefaultBoolean.False) if the project has an application manifest file that names only Windows 10 as compatible with this application. To see the list of all compatible Windows versions, inspect your manifest file and find the section that starts with the following comment:

<!-- A list of the Windows versions that this application has been tested on and is
is designed to work with. Uncomment the appropriate elements and Windows will
automatically select the most compatible environment. -->
See Also