Class TableView.TableStyle | Terminal.Gui v1 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
public class TableView.TableStyle
Inheritance
TableView.TableStyle
Inherited Members
Properties
When scrolling down always lock the column headers in place as the first row of the table
Collection of columns for which you want special rendering (e.g. custom column lengths, text alignment etc)
Determines rendering when the last column in the table is visible but it's content or MaxWidth is less than the remaining space in the control. True (the default) will expand the column to fill the remaining bounds of the control. False will draw a column ending line and leave a blank column that cannot be selected in the remaining space.
InvertSelectedCellFirstCharacter
True to invert the colors of the first symbol of the selected cell in the TableView. This gives the appearance of a cursor for when the ConsoleDriver doesn't otherwise show this
Delegate for coloring specific rows in a different color. For cell color ColorGetter
True to render a solid line above the headers
True to render a solid line under the headers
ShowHorizontalScrollIndicators
True to render a arrows on the right/left of the table when there are more column(s) that can be scrolled to. RequiresShowHorizontalHeaderUnderline to be true. Defaults to true
True to render a solid line vertical line between cells
True to render a solid line vertical line between headers
Determines how ColumnOffset is updated when scrolling right off the end of the currently visible area.
If true then when scrolling right the scroll offset is increased the minimum required to show the new column. This may be slow if you have an incredibly large number of columns in your table and/or slow RepresentationGetter implementations
If false then scroll offset is set to the currently selected column (i.e. PageRight).
Methods
GetColumnStyleIfAny(DataColumn)
Returns the entry from ColumnStyles for the given col
or null if no custom styling is defined for it
GetOrCreateColumnStyle(DataColumn)
Returns an existing TableView.ColumnStyle for the given col
or creates a new one with default options