DateEditSettings.DefaultTime Property
Gets or sets the value displayed in the empty editor when a user starts to enter time. This property is in effect only if the editor operates TimeOnly data. This is a dependency property.
Namespace: DevExpress.Xpf.Editors.Settings
Assembly: DevExpress.Xpf.Core.v25.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Nullable<TimeOnly> | TimeOnly.MinValue | The value displayed in the empty editor when a user starts to enter data. |
Remarks
If the editor’s value is not set, the editor displays the default time when a user opens the drop-down time picker. The DefaultTime value cannot be earlier DateEditSettings.MinDate or later than DateEditSettings.MaxDate. The editor also shows the default value to suggest an auto-complete option.
The DefaultDate property does not affect the value that the empty editor returns. Use the BaseEdit.NullValue property to specify the editor value when its value is null.