Bearbeiten

Freigeben über


TableColumnItems Element

Defines the properties or scripts whose values are displayed in a row.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • TableControl Element
  • TableRowEntries Element for TableControl
  • TableRowEntry Element for TableRowEntries for TableControl
  • TableColumnItems Element for TableControlEntry for TableControl

Syntax

<TableColumnItems>
  <TableColumnItem>...</TableColumnItem>
</TableColumnItems>

Attributes and Elements

The following sections describe the attributes, child elements, and parent element of the TableColumnItems element.

Attributes

None.

Child Elements

Element Description
TableColumnItem Element for TableColumnItems for TableControl Required element.

Defines the property or script whose value is displayed in a column of the row.

Parent Elements

Element Description
TableRowEntry Element for TableRowEntries for TableControl Defines the data that is displayed in a row of the table.

Remarks

A TableColumnItem element is required for each column of the row. The first entry is displayed in first column, the second entry in the second column, and so on.

For more information about the components of a table view, see Creating a Table View.

Example

The following example shows a TableColumnItems element that defines three properties of the System.Diagnostics.Process object.

<TableColumnItems>
  <TableColumnItem>
    <PropertyName>Status</PropertyName>
  </TableColumnItem>
  <TableColumnItem>
    <PropertyName>Name</PropertyName>
  </TableColumnItem>
  <TableColumnItem>
    <PropertyName>DisplayName</PropertyName>
  </TableColumnItem>
</TableColumnItems>

See Also

Creating a Table View

TableColumnItem Element

TableRowEntry Element

Writing a PowerShell Formatting File