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

TimePicker.DateTime Property

Gets or sets the TimePicker edit value. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public DateTime DateTime { get; set; }

Property Value

Type Description
DateTime

A time picker value.

Remarks

Use the DateTime property to get or set a TimePicker value.

When the DateTime property value is changed, the DateTimeChanged event occurs.

You can use the MinValue and MaxValue properties to set a range of allowed values end users can select.

See Also