Paints a TBD with the specified TBD, TBD, DataView, row number, and alignment.
[Visual Basic] Overloads Overrides 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 override void Paint( Graphics g, Rectangle bounds, ListManager source, int rowNum, bool alignToRight ); [C++] public: override void Paint( Graphics* g, Rectangle bounds, ListManager* source, int rowNum, bool alignToRight ); [JScript] public override function Paint( g : Graphics, bounds : Rectangle, source : ListManager, rowNum : int, alignToRight : Boolean );
The Paint method uses the GetColumnValueAtRow to determine the value to draw in the cell. The PaintText method is called to draw the cell and its contents.
DataGridTextBoxColumn Class | DataGridTextBoxColumn Members | System.WinForms Namespace | DataGridTextBoxColumn.Paint Overload List | Edit | PaintText