Occurs when the control is validating.
Syntax
| Visual Basic (Declaration) | |
|---|
<SRCategoryAttribute("Focus")>
<SRDescriptionAttribute("Occurs when the control is validating.")>
Public Event Validating As CancelEventHandler |
| C# | |
|---|
[SRCategoryAttribute("Focus")]
[SRDescriptionAttribute("Occurs when the control is validating.")]
public event CancelEventHandler Validating |
| C++/CLI | |
|---|
[SRCategoryAttribute("Focus")]
[SRDescriptionAttribute("Occurs when the control is validating.")]
public:
event CancelEventHandler^ Validating |
Event Data
The event handler receives an argument of type CancelEventArgs containing data related to this event. The following CancelEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| Cancel | Gets or sets a value indicating whether the event should be canceled. |
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also