Back to Devexpress

RepositoryItemTimeSpanEdit.TimeEditStyle Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtimespanedit-ae7a3e47.md

latest2.9 KB
Original Source

RepositoryItemTimeSpanEdit.TimeEditStyle Property

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

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(TimeEditStyle.TouchUI)]
[DXCategory("Appearance")]
public override TimeEditStyle TimeEditStyle { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(TimeEditStyle.TouchUI)>
Public Overrides Property TimeEditStyle As TimeEditStyle

Property Value

TypeDefaultDescription
TimeEditStyleTouchUI

A TimeEditStyle enumeration value that specifies how the time interval can be edited.

|

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 span:

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

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

Note

The TimeSpanEdit control always uses spin buttons if a time-span input mask is applied (the TimeSpanEdit.Properties.Mask.MaskType property is set to TimeSpan or TimeSpanAdvancingCaret).

See Also

RepositoryItemTimeSpanEdit Class

RepositoryItemTimeSpanEdit Members

DevExpress.XtraEditors.Repository Namespace