Page 1 of 1

Table backcolor, backbrush

Posted: 16 Jul 2014, 06:35
by PetrS
size=150Table BackColor, BackBrush/size
Version 0.1.50 and higher

New properties are available for table cells, columns and rows.
You can simply set BackColor (SolidBrush will be used) or set BackBrush (complex c# brush can be used).

bBackBrush /b- set this property to change background brush of the table cell/column/row.
You can use any c# brush: urlhttp://msdn.microsoft.com/en-us/library/system.drawing.brush.aspx/url

bBackColor /b - set this property to change BackBrush to SolidBrush with goven color.


ubSet cell BackColor / BackBrush:/b/u
T00.BackColor = <Color>;
T00.BackBrush = <Brush>;

ubSet row BackColor / BackBrush:/b/u
T0.BackColor = <Color>;
T0.BackBrush = <Brush>;

ubSet column BackColor / BackBrush:/b/u
T.Columns0.BackColor = <Color>;
T.Columns0.BackBrush = <Brush>;

See attached example for more info.