 Syntax
Syntax
| Visual Basic (Declaration) |  | 
|---|
| <SRDescriptionAttribute("Occurs when the control is validating.")>
<SRCategoryAttribute("Focus")>
Public Event Validating As CancelEventHandler | 
| C# |  | 
|---|
| [SRDescriptionAttribute("Occurs when the control is validating.")]
[SRCategoryAttribute("Focus")]
public event CancelEventHandler Validating | 
 Event Data
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
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
 See Also
See Also