Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
Control Class
Events
 Invalidated Event

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
.NET Framework Class Library
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

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker