A newer version of this page is available. Switch to the current version.

RepositoryItemTimeEdit.TimeEditStyle Property

Gets or sets how end-users can modify the control’s value (spin buttons or touch-aware tiles).

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(TimeEditStyle.SpinButtons)]
[SmartTagProperty("Time Edit Style", "Editor Style", SmartTagActionType.RefreshBoundsAfterExecute)]
public virtual TimeEditStyle TimeEditStyle { get; set; }

Property Value

Type Default Description
TimeEditStyle

SpinButtons

A TimeEditStyle value that specifies how end-users can modify the time value.

Available values:

Name Description
SpinButtons

The time value is edited using spin buttons:

TimeEdit-TimeEditStyle-Spin

TouchUI

The time value is edited using a Touch-aware dropdown window:

TimeEdit-TimeEditStyle-TouchUI

Remarks

Depending on the TimeEditStyle property, end-users can change a TimeEdit control value in two ways.

  • TimeEditStyle.SpinButtons mode - default behavior. To change a control’s value, an end-user uses vertical or horizontal (see the RepositoryItemBaseSpinEdit.SpinStyle property) spin buttons:

    TimeEdit - TimeEditStyle SpinButtons

  • TimeEditStyle.TouchUI mode - the control displays a dropdown Touch-aware panel with scrollable time editing tiles. Time editing via the mouse and keyboard is also supported.

    TimeEdit - TimeEditStyle TouchUI

Which portions of a time value can be edited are specified by the control’s mask (see the RepositoryItemTextEdit.Mask inherited property).

See Also