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.v24.2.dll
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 | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
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. -->