Paints the a TBD with the specified Graphics, TBD, DataView, and row number.
[Visual Basic] Overloads MustOverride Public Sub Paint( _ ByVal g As Graphics, _ ByVal bounds As Rectangle, _ ByVal source As ListManager, _ ByVal rowNum As Integer _ ) [C#] public abstract void Paint( Graphics g, Rectangle bounds, ListManager source, int rowNum ); [C++] public: virtual void Paint( Graphics* g, Rectangle bounds, ListManager* source, int rowNum ) = 0; [JScript] public abstract function Paint( g : Graphics, bounds : Rectangle, source : ListManager, rowNum : int );
This method will be called very often with state = DataGridColumnState.Normal so inheriting classes should heavily optimize that type of call. When painting a cell, keep in mind the following:
DataGridColumn Class | DataGridColumn Members | System.WinForms Namespace | DataGridColumn.Paint Overload List