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( _ ByVal g As Graphics, _ ByVal bounds As Rectangle, _ ByVal source As ListManager, _ ByVal rowNum As Integer, _ ByVal alignToRight As Boolean _ ) [C#] public abstract void Paint( Graphics g, Rectangle bounds, ListManager source, int rowNum, bool alignToRight ); [C++] public: virtual void Paint( Graphics* g, Rectangle bounds, ListManager* source, int rowNum, bool alignToRight ) = 0; [JScript] public abstract function Paint( g : Graphics, bounds : Rectangle, source : ListManager, rowNum : int, alignToRight : Boolean );
The following example shows a possible override of the Paint method.
DataGridColumn Class | DataGridColumn Members | System.WinForms Namespace | DataGridColumn.Paint Overload List