SharpLeaf Reference > Table Properties > ColumnOverwrite Property

Table.ColumnOverwrite Property

Overwrite column settings when re-visiting columns in future cells (default is false).

public bool ColumnOverwrite {get; set;}


tb.ColumnOverwrite = true;


It only makes a difference if changing a column setting cycle in-flight while going through columns.

Settings affected : SetColumnWidths, SetColumnMinWidths, SetColumnMaxWidths, SetColumnBefore, SetColumnAfter, SetColumnGrid, SetColumnMerge.

The default (false) is to set the settings for a column only the first time we fill one of its cells, so that we have to be careful about the column cycle only the first time, and then go through other rows of the same columns without worrying about it.

When using true, every time we fill a cell, its corresponding column setting is updated with current cycle, possibly changing a previous setting.

See also ...

Table Cyclic Settings | Table Glossary | Table Members | Table.RowOverwrite Property

Send comments on this topic
© Dyalog Ltd 2016