NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control.Invalidate

[To be supplied.]

Overload List

Invalidates the control and causes a paint message to be sent to the control. This will not force a synchronous paint to occur, calling update after invalidate will force a synchronous paint.

[Visual Basic] Overloads Public Sub Invalidate()
[C#] public void Invalidate();
[C++] public: void Invalidate();
[JScript] public function Invalidate();

Invalidates a rectangular region of the control and causes a paint message to be sent to the control. This will not force a synchronous paint to occur, calling update after invalidate will force a synchronous paint.

[Visual Basic] Overloads Public Sub Invalidate(Rectangle, Boolean)
[C#] public void Invalidate(Rectangle, bool);
[C++] public: void Invalidate(Rectangle, bool);
[JScript] public function Invalidate(Rectangle, Boolean);

Invalidates a rectangular region of the control and causes a paint message to be sent to the control. This will not force a synchronous paint to occur, calling update after invalidate will force a synchronous paint.

[Visual Basic] Overloads Public Sub Invalidate(Rectangle)
[C#] public void Invalidate(Rectangle);
[C++] public: void Invalidate(Rectangle);
[JScript] public function Invalidate(Rectangle);

Invalidates the control and causes a paint message to be sent to the control. This will not force a synchronous paint to occur, calling update after invalidate will force a synchronous paint.

[Visual Basic] Overloads Public Sub Invalidate(Boolean)
[C#] public void Invalidate(bool);
[C++] public: void Invalidate(bool);
[JScript] public function Invalidate(Boolean);

See Also

Control Class | Control Members | System.WinForms Namespace