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!

Label.OnPaintBackground

Raises the OnPaint event.

[Visual Basic]
Overrides Protected Sub OnPaintBackground( _
   ByVal e As PaintEventArgs _
)
[C#]
protected override void OnPaintBackground(
   PaintEventArgs e
);
[C++]
protected: override void OnPaintBackground(
   PaintEventArgs* e
);
[JScript]
protected override function OnPaintBackground(
   e : PaintEventArgs
);

Parameters

e
A PaintEventArgs that contains the event data.

Remarks

Raising an event invokes the event-handling method through a delegate. For more information, see TBD.

Notes to Inheritors: When overriding OnPaintBackground in a derived class, be sure to call the base class's OnPaintBackground method.

See Also

Label Class | Label Members | System.WinForms Namespace | OnPaintBackground | OnPaint | PaintEventArgs