Class CheckBoxTableSourceWrapperBase | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
ITableSource for a TableView which adds a checkbox column as an additional column in the table.
public abstract class CheckBoxTableSourceWrapperBase : ITableSource
Inheritance
CheckBoxTableSourceWrapperBase
Implements
Derived
Inherited Members
Constructors
CheckBoxTableSourceWrapperBase(TableView, ITableSource)
Creates a new instance of the class presenting the data in toWrap
plus an additional checkbox column.
Properties
Gets or sets the character to use for checked entries. Defaults to CheckStateChecked
Gets the label for each column.
Gets the number of columns in the table.
Returns the data at the given indexes of the table (row, column).
Gets or sets the character to use for checked entry when UseRadioButtons is true. Defaults toSelected
Gets or sets the character to use for unchecked entries when UseRadioButtons is true. Defaults to UnSelected
Gets the number of rows in the table.
Gets or sets the character to use for UnChecked entries. Defaults to CheckStateUnChecked
Gets or sets whether to only allow a single row to be toggled at once (Radio button).
Gets the ITableSource that this instance is wrapping.
Methods
Clears the toggled state of all rows.
Returns true if row
is checked.
Called when the 'toggled all' action is performed. This should change state from 'some selected' to 'all selected' or clear selection if all area already selected.
Flips the checked state of the given row
/
Flips the checked state for a collection of rows. If some (but not all) are selected they should flip to all selected.