Version

InvalidValue Event (WebDateTimeEditor)

Adds removes event handler which is fired when invalid date was entered.
Syntax
'Declaration
 
Public Event InvalidValue As InvalidDateHandler
public event InvalidDateHandler InvalidValue
Event Data

The event handler receives an argument of type InvalidDateEventArgs containing data related to this event. The following InvalidDateEventArgs properties provide information specific to this event.

PropertyDescription
Day Value of day field that was entered in the control.
Hours Value of hour field that was entered in the control.
Milliseconds Value of millisecond field that was entered in the control.
Minutes Value of minute field that was entered in the control.
Month Value of month field that was entered in the control.
Seconds Value of second field that was entered in the control.
SuggestedValue Suggested value of the date.
Type Type of invalid entry.
Year Value of year field that was entered in the control.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also