EntrySelectedBy Element for ListEntry

Defines the .NET types that use this list view definition or the condition that must exist for this definition to be used. In most cases only one definition is needed for a list view. However, you can provide multiple definitions for the list view if you want to use the same list view to display different data for different objects.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • ListControl Element
  • ListEntries Element
  • ListEntry Element
  • EntrySelectedBy Element

Syntax

<EntrySelectedBy>
  <TypeName>Nameof.NetType</TypeName>
  <SelectionSetName>NameofSelectionSet</SelectionSetName>
  <SelectionCondition>...</SelectionCondition>
</EntrySelectedBy>

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description
SelectionCondition Element for EntrySelectedBy for ListControl Optional element.

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

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

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

Parent Elements

Element Description
ListEntry Element for ListControl Defines how the rows of the list are displayed.

Remarks

You must specify at least one type, selection set, or selection condition for a list 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 Data is displayed.

For more information about the components of a list view, see Creating a List View.

Example

The following example shows how to define the objects for a list view using their .NET type name.

<ListEntry>
  <EntrySelectedBy>
    <TypeName>NameofDotNetType</TypeName>>
  </EntrySelectedBy>
</ListEntry>

See Also

ListEntry Element for ListControl

SelectionCondition Element for EntrySelectedBy for ListControl

SelectionSetName Element for EntrySelectedBy for ListControl

TypeName Element for EntrySelectedBy for ListControl

Creating a List View

Defining Conditions for when Data is Displayed

Writing a PowerShell Formatting File