SpreadsheetGear.Windows.Forms Namespace > FormulaBar Class : Validating Event |
'Declaration
<SRCategoryAttribute("Focus")> <SRDescriptionAttribute("Occurs when the control is validating.")> Public Event Validating As System.ComponentModel.CancelEventHandler
'Usage
Dim instance As FormulaBar Dim handler As System.ComponentModel.CancelEventHandler AddHandler instance.Validating, handler
[SRCategory("Focus")] [SRDescription("Occurs when the control is validating.")] 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("Focus")] [SRDescription("Occurs when the control is validating.")] public: __event System.ComponentModel.CancelEventHandler* Validating
[SRCategory("Focus")] [SRDescription("Occurs when the control is validating.")] 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