Visual Basic (Declaration) | |
---|---|
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> <BrowsableAttribute(False)> <SRCategoryAttribute("Appearance")> <SRDescriptionAttribute("Occurs when a control's display requires redrawing.")> Public Event Invalidated As InvalidateEventHandler |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As CredentialsDialog Dim handler As InvalidateEventHandler AddHandler instance.Invalidated, handler |
C# | |
---|---|
[EditorBrowsable(EditorBrowsableState.Advanced)] [Browsable(false)] [SRCategory("Appearance")] [SRDescription("Occurs when a control's display requires redrawing.")] public event InvalidateEventHandler Invalidated |
C++/CLI | |
---|---|
[EditorBrowsable(EditorBrowsableState.Advanced)] [Browsable(false)] [SRCategory("Appearance")] [SRDescription("Occurs when a control's display requires redrawing.")] public: event InvalidateEventHandler^ Invalidated |
The event handler receives an argument of type 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