Skip to main content
A newer version of this page is available. .

RepositoryItemTimeEdit.TimeFormat Property

OBSOLETE

Use the EditMask property instead.

Gets or sets a value specifying the format of the value displayed by a TimeEdit.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DefaultValue(TimeFormat.HourMinSec)]
[Browsable(false)]
[Obsolete("Use the EditMask property instead.")]
public TimeFormat TimeFormat { get; set; }

Property Value

Type Default Description
TimeFormat **HourMinSec**

A TimeFormat enumeration member specifying the format of the time value.

Available values:

Name Description
HourMinSec

Hours, minutes and seconds are displayed within the time editor.

TimeFormat - h_m_s

HourMin

Hours and minutes are displayed within the time editor.

TimeFormat - h_m

Hour

Hours are displayed within the time editor.

TimeFormat - h

See Also