Back to Devexpress

RepositoryItemDateEdit.VistaDisplayMode Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemdateedit-34a0f554.md

latest3.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

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:

xml
<!-- 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

CalendarView

VistaCalendarViewStyle

CalendarTimeEditing

RepositoryItemDateEdit Class

RepositoryItemDateEdit Members

DevExpress.XtraEditors.Repository Namespace