Export (0) Print
Expand All

Control.Invalidated Event

Occurs when a control's display requires redrawing.

[Visual Basic]
Public Event Invalidated As InvalidateEventHandler
[C#]
public event InvalidateEventHandler Invalidated;
[C++]
public: __event InvalidateEventHandler* Invalidated;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type InvalidateEventArgs containing data related to this event. The following InvalidateEventArgs property provides information specific to this event.

Property Description
InvalidRect Gets the Rectangle that contains the invalidated window area.

Remarks

For more information about handling events, see Consuming Events.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Windows.Forms Namespace | OnInvalidated | Invalidate

Show:
© 2015 Microsoft