Back to Devexpress

DateRangeControl.Validate Event

wpf-devexpress-dot-xpf-dot-editors-dot-daterangecontrol-f2153785.md

latest2.0 KB
Original Source

DateRangeControl.Validate Event

Fires when the control’s value is changed and allows you to validate the new value.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public event EventHandler<ValidateRangeEventArgs> Validate
vb
Public Event Validate As EventHandler(Of ValidateRangeEventArgs)

Event Data

The Validate event's data class is ValidateRangeEventArgs. The following properties provide information specific to this event:

PropertyDescription
EndGets the end date of the validated range.
EndErrorGets or sets the error description for the end date of the validated range.
IsEndValidGets or sets whether the end date of the validated range is valid.
IsStartValidGets or sets whether the start date of the validated range is valid.
StartGets the start date of the validated range.
StartErrorGets or sets the error description for the start date of the validated range.

See Also

DateRangeControl Class

DateRangeControl Members

DevExpress.Xpf.Editors Namespace