Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(TimeEditStyle.SpinButtons)]
[DXCategory("Appearance")]
public virtual TimeEditStyle TimeEditStyle { get; set; }

#Property Value

Type Default Description
TimeEditStyle SpinButtons

A TimeEditStyle value that specifies how users edit the time.

Available values:

Name Description
SpinButtons

The control displays spin buttons that allow users to edit the time (time span).

TimeEdit-TimeEditStyle-Spin

TouchUI

The control displays tiles in a drop-down panel that allow users to edit the time (time span).

TimeEdit-TimeEditStyle-TouchUI

#Remarks

The TimeEditStyle property specifies how users modify the time:

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

    image

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

    image

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

    image

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

See Also