SpreadsheetGear.Windows.Forms Namespace > RangeExplorer Class : Invalidated Event |
'Declaration
<System.ComponentModel.BrowsableAttribute(False)> <SRCategoryAttribute("Appearance")> <System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)> <SRDescriptionAttribute("Occurs when a control's display requires redrawing.")> Public Event Invalidated As System.Windows.Forms.InvalidateEventHandler
'Usage
Dim instance As RangeExplorer Dim handler As System.Windows.Forms.InvalidateEventHandler AddHandler instance.Invalidated, handler
[System.ComponentModel.Browsable(false)] [SRCategory("Appearance")] [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)] [SRDescription("Occurs when a control's display requires redrawing.")] public event System.Windows.Forms.InvalidateEventHandler Invalidated
public event Invalidated: System.Windows.Forms.InvalidateEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
[System.ComponentModel.Browsable(false)] [SRCategory("Appearance")] [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)] [SRDescription("Occurs when a control's display requires redrawing.")] public: __event System.Windows.Forms.InvalidateEventHandler* Invalidated
[System.ComponentModel.Browsable(false)] [SRCategory("Appearance")] [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)] [SRDescription("Occurs when a control's display requires redrawing.")] public: event System.Windows.Forms.InvalidateEventHandler^ Invalidated
The event handler receives an argument of type System.Windows.Forms.InvalidateEventArgs containing data related to this event. The following InvalidateEventArgs properties provide information specific to this event.
Property | Description |
---|---|
InvalidRect | Gets the System.Drawing.Rectangle that contains the invalidated window area. |
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