Visual Basic (Declaration) | |
---|---|
<SRDescriptionAttribute("Occurs when a control's display requires redrawing.")> <BrowsableAttribute(False)> <EditorBrowsableAttribute(EditorBrowsableState.Advanced)> <SRCategoryAttribute("Appearance")> Public Event Invalidated As InvalidateEventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim handler As InvalidateEventHandler AddHandler instance.Invalidated, handler |
C# | |
---|---|
[SRDescriptionAttribute("Occurs when a control's display requires redrawing.")] [BrowsableAttribute(false)] [EditorBrowsableAttribute(EditorBrowsableState.Advanced)] [SRCategoryAttribute("Appearance")] public event InvalidateEventHandler Invalidated |
C++/CLI | |
---|---|
[SRDescriptionAttribute("Occurs when a control's display requires redrawing.")] [BrowsableAttribute(false)] [EditorBrowsableAttribute(EditorBrowsableState.Advanced)] [SRCategoryAttribute("Appearance")] 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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7