TableControl TableControl TableControl Class

Definition

Defines a table control

public sealed class TableControl : System.Management.Automation.PSControl
type TableControl = class
    inherit PSControl
Public NotInheritable Class TableControl
Inherits PSControl
Inheritance
TableControlTableControlTableControl

Constructors

TableControl() TableControl() TableControl()

Public default constructor for TableControl

TableControl(TableControlRow) TableControl(TableControlRow) TableControl(TableControlRow)

public constructor for TableControl that only takes 'tableControlRows'.

TableControl(TableControlRow, IEnumerable<TableControlColumnHeader>) TableControl(TableControlRow, IEnumerable<TableControlColumnHeader>) TableControl(TableControlRow, IEnumerable<TableControlColumnHeader>)

public constructor for TableControl that takes both 'tableControlRows' and 'tableControlColumnHeaders'.

Properties

AutoSize AutoSize AutoSize

When true, column widths are calculated based on more than the first object.

GroupBy GroupBy GroupBy Inherited from PSControl
Headers Headers Headers

Collection of column header definitions for this table control

HideTableHeaders HideTableHeaders HideTableHeaders

When true, table headers are not displayed

OutOfBand OutOfBand OutOfBand Inherited from PSControl
Rows Rows Rows

Collection of row definitions for this table control

Methods

Create(Boolean, Boolean, Boolean) Create(Boolean, Boolean, Boolean) Create(Boolean, Boolean, Boolean)

Create a default TableControl

ToString() ToString() ToString()

Overridden ToString() method

Applies to