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.v20.1.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(DefaultBoolean.Default)]
public virtual DefaultBoolean VistaDisplayMode { get; set; }
<DXCategory("Appearance")>
<DefaultValue(DefaultBoolean.Default)>
Public Overridable Property VistaDisplayMode As DefaultBoolean

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.

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