'Declaration
<SRCategoryAttribute("CatFocus")> <SRDescriptionAttribute("ControlOnValidatingDescr")> Public Event Validating As System.ComponentModel.CancelEventHandler
'Usage
Dim instance As WorkbookDesigner Dim handler As System.ComponentModel.CancelEventHandler AddHandler instance.Validating, handler
[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
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: 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