Editar

Compartilhar via


TableRowEntry Element

Defines the data that is displayed in a row of the table.

Schema

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

Syntax

<TableRowEntry>
  <Wrap/>
  <EntrySelectedBy>...</EntrySelectedBy>
  <TableColumnItems>...</TableColumnItems>
</TableRowEntry>

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description
EntrySelectedBy Element for TableRowEntry for TableControl Required element.

Defines the objects whose property values are displayed in the row.
TableColumnItems Element for TableRowEntry for TableControl Required element.

Defines the properties or scripts whose values are displayed.
Wrap Element for TableRowEntry for TableControl Optional element.

Specifies that text that exceeds the column width is displayed on the next line.

Parent Elements

Element Description
TableRowEntries Element for TableControl Defines the rows of the table.

Remarks

One TableColumnItems element and one EntrySelectedBy element must be specified.

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

Example

The following example shows a TableRowEntry element that defines a row that displays the values of two properties of the System.Diagnostics.Process object.

<TableRowEntry>
  <EntrySelectedBy>
    <TypeName>System.Diagnostics.Process</TypeName>
  </EntrySelectedBy>
  <TableColumnItems>
    <TableColumnItem>
      <PropertyName> Property for first column</PropertyName>
    </TableColumnItem>
    <TableColumnItem>
      <PropertyName> Property for second column</PropertyName>
    </TableColumnItem>
  </TableColumnItems>
</TableRowEntry>

See Also

Creating a Table View

EntrySelectedBy Element for TableRowEntry for TableControl

TableColumnItems Element for TableRowEntry for TableControl

TableRowEntries Element for TableControl

Wrap Element for TableRowEntry for TableControl

Writing a PowerShell Formatting File