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

Declaration

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

Property Value

Type Default Description
TimeEditStyle

SpinButtons

A TimeEditStyle value that specifies how users edit the time.

Remarks

The TimeEditStyle property specifies how users modify the time:

  • 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.

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 Mask property to customize the input mask.

See Also