Back to Devexpress

TcxCustomTimeEdit.Time Property

vcl-cxtimeedit-dot-tcxcustomtimeedit.md

latest1.6 KB
Original Source

TcxCustomTimeEdit.Time Property

Specifies the currently edited time value.

Declaration

delphi
property Time: TTime read; write;

Property Value

Type
TTime

Remarks

Use the Time property to get and set a time value for an editor. The Time property specifies the value currently edited by a user. The TimeFormat member of the Properties object defines what portions of the time value are presented by the editor.

The Time and EditValue properties refer to the same date/time value. The difference is that EditValue maintains both the date and time parts of a date/time value, while the Time property maintains only the time part. When you set a value via the Time property, only the time portion is assigned (the date part of the stored date/time value is preserved); when you read the Time property, only the time part is retrieved. If EditValue is assigned or read, the date part is not discarded.

See Also

TcxCustomTimeEdit.Properties

TcxCustomTimeEditProperties.TimeFormat

TcxCustomTimeEdit Class

TcxCustomTimeEdit Members

cxTimeEdit Unit