[SRCategory("CatFocus")]
[SRDescription("ControlOnValidatingDescr")]
public event System.ComponentModel.CancelEventHandler Validating
public event Validating: System.ComponentModel.CancelEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
[SRCategory("CatFocus")]
[SRDescription("ControlOnValidatingDescr")]
public: __event System.ComponentModel.CancelEventHandler* Validating
[SRCategory("CatFocus")]
[SRDescription("ControlOnValidatingDescr")]
public:
event System.ComponentModel.CancelEventHandler^ Validating
'Declaration
<SRCategoryAttribute("CatFocus")>
<SRDescriptionAttribute("ControlOnValidatingDescr")>
Public Event Validating As System.ComponentModel.CancelEventHandler
'Usage
Dim instance As LicenseDialog
Dim handler As System.ComponentModel.CancelEventHandler
AddHandler instance.Validating, handler
The event handler receives an argument of type System.ComponentModel.CancelEventArgs containing data related to this event. The following CancelEventArgs properties provide information specific to this event.
Property | Description |
---|
Cancel | |
Target Platforms: .NET CLR 4.8 or higher