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.1.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 | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
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. -->
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VistaDisplayMode property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.