TimeEdit.TimeFormatMode Property
In This Article
Gets or sets whether the editor displays the time in 12- or 24-hour format.
Namespace: DevExpress.XamarinForms.Editors
Assembly: DevExpress.XamarinForms.Editors.dll
NuGet Package: DevExpress.XamarinForms.Editors
#Declaration
C#
public TimeFormatMode TimeFormatMode { get; set; }
#Property Value
Type | Description |
---|---|
Time |
A value that specifies whether the editor displays the time in 12- or 24-hour format. |
Available values:
Name | Description |
---|---|
Hour |
The time in 12-hour format. |
Hour |
The time in 24-hour format. |
Auto | The time format depends on the current culture. |
#Remarks
The editor can display the time in 12- and 24-hour formats.
The default format depends on the current culture. Use the TimeFormatMode
property to specify the time format explicitly.
<dxe:TimeEdit TimeFormatMode="HourFormat12"/>
See Also