EntrySelectedBy Element for TableRowEntry for TableControl (Format)
Defines the .NET Framework types that use this definition of the table view or the condition that must exist for this definition to be used.
<EntrySelectedBy> <TypeName>Nameof.NetType</TypeName> <SelectionSetName>NameofSelectionSet</SelectionSetName> <SelectionCondition>...</SelectionCondition> </EntrySelectedBy>
Attributes and Elements
The following sections describe attributes, child elements, and the parent element of the EntrySelectedBy element.
Attributes
None.
Child Elements
Element | Description |
|---|---|
SelectionCondition Element for EntrySelectedBy for TableControl (Format) | Optional element. Defines the condition that must exist for this table view definition to be used. |
SelectionSetName Element for EntrySelectedBy for TableControl (Format) | Optional element. Specifies a set of .NET Framework types that use this table view definition. |
TypeName Element for EntrySelectedBy for TableControl (Format) | Optional element. Specifies a .NET Framework type that uses this table view definition. |
Parent Elements
Element | Description |
|---|---|
Defines the data that is displayed in a row of the table. |
You must specify at least one type, selection set, or selection condition for a table view definition. There is no maximum limit to the number of child elements that you can use.
Selection conditions are used to define a condition that must exist for the definition to be used, such as when an object has a specific property or that a specific property value or script evaluates to true. For more information about selection conditions, see Defining Conditions for when a View Entry or Item is Used.
For more information about the components of a table view, see Creating a Table View.
Example
The following example shows a TableRowEntry element that is used to display the properties of the Process object.
<TableRowEntry>
<EntrySelectedBy>
<TypeName>System.Diagnostics.Process</TypeName>
</EntrySelectedBy>
<TableColumnItems>
<TableColumnItem>
<PropertyName>PropertyForFirstColumn</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>PropertyForSecondColumn</PropertyName>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
Creating a Table View
SelectionCondition Element for EntrySelectedBy for TableControl (Format)
SelectionSetName Element for EntrySelectedBy for TableControl (Format)
TableRowEntry Element for TableControl (Format)
TypeName Element for EntrySelectedBy for TableControl (Format)
Writing a Windows PowerShell Formatting File