Back to Devexpress

RepositoryItemTimeEdit.TimeEditStyle Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtimeedit.md

latest2.7 KB
Original Source

RepositoryItemTimeEdit.TimeEditStyle Property

Gets or sets whether users use spin buttons or tiles in the drop-down panel to edit the time.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
TimeEditStyleSpinButtons

A TimeEditStyle value that specifies how users edit the time.

|

Available values:

NameDescription
SpinButtons

The control displays spin buttons that allow users to edit the time (time span).

| | TouchUI |

The control displays tiles in a drop-down panel that allow users to edit the time (time span).

|

Remarks

The TimeEditStyle property specifies how users modify the time:

  • SpinButtons — spin buttons that are placed vertically one under another.

  • TouchUI — a touch drop-down panel with tiles.

The editor allows users to edit hours, minutes, seconds, and AM/PM in the text box. The actual format depends or the current culture settings. Use the MaskSettings property to customize the input mask.

See Also

RepositoryItemTimeEdit Class

RepositoryItemTimeEdit Members

DevExpress.XtraEditors.Repository Namespace