maui-devexpress-dot-maui-dot-editors-dot-dateedit.md
Gets or sets the pattern used to format the DateEdit‘s value. This is a bindable property.
Namespace : DevExpress.Maui.Editors
Assembly : DevExpress.Maui.Editors.dll
NuGet Package : DevExpress.Maui.Editors
public string DisplayFormat { get; set; }
| Type | Default | Description |
|---|---|---|
| String | D |
The pattern used to format the DateEdit‘s value.
|
You can use format specifiers to set a display format for dates. For more information, refer to the following help topics:
The following examples show different date formats:
<dxe:DateEdit ...
DisplayFormat="d"/>
<dxe:DateEdit ...
DisplayFormat="D"/>
<dxe:DateEdit ...
DisplayFormat="dd/MMM/yyyy"/>
<dxe:DateEdit ...
DisplayFormat="{}{0:MM/dd/yy} (MM/dd/yy)"/>
See Also