SharpLeaf Reference > Table Methods > SetColumnGrid Method

Table.SetColumnGrid Method

Set vertical grid decoration (Defaults to 0.1 black solid).



  // 2-pt thick grid every other column - without changing color or style
   tb.SetColumnGrid(new int[] {0,2});


Each grid setting will be cycled through independently, from current column on. They apply to the gridline to the right of the column, unless it is the last column (which uses Table.Box). Using an empty vector or omitting an argument doesn’t change the corresponding cycle.

See also ...

Table Appearance | Table Cyclic Settings | Table Glossary | Table Members | Table.SetCellBox Method | Table.SetRowGrid Method

Send comments on this topic
© Dyalog Ltd 2021