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.v20.1.dll

Declaration

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

Property Value

Type Default Description
TimeEditStyle

TouchUI

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

Remarks

The TimeEditStyle property specifies how users modify the time span:

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

    To enable a horizontal spin button layout, use the SpinStyle property.

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

    The drop-down panel supports both: the mouse and the keyboard.

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