EntrySelectedBy Element for TableRowEntry

Defines the .NET types that use this definition of the table view or the condition that must exist for this definition to be used.

Schema

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

Syntax

<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 Optional element.

Defines the condition that must exist for this table view definition to be used.
SelectionSetName Element for EntrySelectedBy for TableControl Optional element.

Specifies a set of .NET types that use this table view definition.
TypeName Element for EntrySelectedBy for TableControl Optional element.

Specifies a .NET type that uses this table view definition.

Parent Elements

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

Remarks

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 System.Diagnostics.Process object.

<TableRowEntry>
  <EntrySelectedBy>
    <TypeName>System.Diagnostics.Process</TypeName>
  </EntrySelectedBy>
  <TableColumnItems>
    <TableColumnItem>
      <PropertyName>PropertyForFirstColumn</PropertyName>
    </TableColumnItem>
    <TableColumnItem>
      <PropertyName>PropertyForSecondColumn</PropertyName>
    </TableColumnItem>
  </TableColumnItems>
</TableRowEntry>

See Also

Creating a Table View

SelectionCondition Element for EntrySelectedBy for TableControl

SelectionSetName Element for EntrySelectedBy for TableControl

TableRowEntry Element for TableControl

TypeName Element for EntrySelectedBy for TableControl

Writing a PowerShell Formatting File