TableRowEntry Element for TableRowEntroes for TableControl (Format)
Defines the data that is displayed in a row of the table.
<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 (Format) | Required element. Defines the objects whose property values are displayed in the row. |
TableColumnItems Element for TableRowEntry for TableControl (Format) | Required element. Defines the properties or scripts whose values are displayed. |
Optional element. Specifies that text that exceeds the column width is displayed on the next line. |
Parent Elements
Element | Description |
|---|---|
Defines the rows of the table. |
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 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>
Creating a Table View
EntrySelectedBy Element for TableRowEntry for TableControl (Format)
TableColumnItems Element for TableRowEntry for TableControl (Format)
TableRowEntries Element for TableControl (Format)
TableRowEntry Element for TableRowEntries for TableControl (Format)
Wrap Element for TableRowEntry for TableCntrol (Format)
Writing a Windows PowerShell Formatting File