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.v18.2.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: |
TouchUI | The time value is edited using a Touch-aware dropdown window: |
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:
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.
Which portions of a time value can be edited are specified by the control’s mask (see the RepositoryItemTextEdit.Mask inherited property).