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!

DataGridColumn.Paint

When overridden in a derived class, paints the column in a DataGrid control.

Overload List

Paints the a TBD with the specified Graphics, TBD, DataView, and row number.

[Visual Basic] Overloads MustOverride Public Sub Paint(Graphics, Rectangle, ListManager, Integer)
[C#] public abstract void Paint(Graphics, Rectangle, ListManager, int);
[C++] public: virtual void Paint(Graphics*, Rectangle, ListManager, int) = 0;
[JScript] public abstract function Paint(Graphics, Rectangle, ListManager, int);

When overridden in a derived class, paints a TBD with the specified TBD, TBD, DataView, row number, and alignment.

[Visual Basic] Overloads MustOverride Public Sub Paint(Graphics, Rectangle, ListManager, Integer, Boolean)
[C#] public abstract void Paint(Graphics, Rectangle, ListManager, int, bool);
[C++] public: virtual void Paint(Graphics*, Rectangle, ListManager, int, bool) = 0;
[JScript] public abstract function Paint(Graphics, Rectangle, ListManager, int, Boolean);

Paints a TBD with the specified TBD, TBD, DataView, row number, background color, foreground color, and alignment.

[Visual Basic] Overloads Overridable Public Sub Paint(Graphics, Rectangle, ListManager, Integer, Brush, Brush, Boolean)
[C#] public virtual void Paint(Graphics, Rectangle, ListManager, int, Brush, Brush, bool);
[C++] public: virtual void Paint(Graphics*, Rectangle, ListManager, int, Brush, Brush, bool);
[JScript] public function Paint(Graphics, Rectangle, ListManager, int, Brush, Brush, Boolean);

Example

The following example shows a possible override of the Paint method.

See Also

DataGridColumn Class | DataGridColumn Members | System.WinForms Namespace