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!

RichControl Paint Event

[To be supplied.]

The following declaration shows the syntax for a method that handles the Paint event.

[Visual Basic]
Private Sub RichControlName_Paint( _
   ByVal sender As Object, _
   ByVal e As PaintEventArgs _
)
[C#]
private void RichControlName_Paint(
   object sender,
   PaintEventArgs e
);
[C++]
private: void RichControlName_Paint(
   Object* sender,
   PaintEventArgs* e
);
[JScript]
private RichControlName_Paint(
   sender : Object,
   e : PaintEventArgs
);

Parameters

sender
The source of the event.
e
A PaintEventArgs that contains the event data. The following PaintEventArgs properties provide information specific to this event.
Property Description
ClipRectangle
Gets the rectangle in which to paint.
Graphics
Gets the Graphics object used to paint.

See Also

RichControl Class | RichControl MembersTopic | System.WinForms Namespace