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!

DataGridValueColumn.Paint (Graphics, Rectangle, ListManager, Int32)

When a DataGrid must be painted, a row will call this method on each of the columns.

[Visual Basic]
Overloads Overrides Public Sub Paint( _
   ByVal g As Graphics, _
   ByVal bounds As Rectangle, _
   ByVal source As ListManager, _
   ByVal rowNum As Integer _
)
[C#]
public override void Paint(
   Graphics g,
   Rectangle bounds,
   ListManager source,
   int rowNum
);
[C++]
public: override void Paint(
   Graphics* g,
   Rectangle bounds,
   ListManager* source,
   int rowNum
);
[JScript]
public override function Paint(
   g : Graphics,
   bounds : Rectangle,
   source : ListManager,
   rowNum : int
);

Parameters

g
The Graphics object to draw to.
bounds
The bounding rectangle to paint into.
source
[To be supplied.]
rowNum
The number of the row in the underlying data being referred to.

Remarks

This method simply emits a string value and paints the background with the background color in the graphics object passed in. The painting logic is identical for all DGridColumnState values.

See Also

DataGridValueColumn Class | DataGridValueColumn Members | System.WinForms Namespace | DataGridValueColumn.Paint Overload List