Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SelectionCondition Element for EntrySelectedBy for EnumerableExpansion (Format)

 

Defines the condition that must exist to expand the collection objects of this definition.

<SelectionCondition>
  <TypeName>Nameof.NetType</TypeName>
  <SelectionSetName>NameofSelectionSet</SelectionSetName>
  <PropertyName>.NetTypeProperty</PropertyName>
  <ScriptBlock>ScriptToEvaluate</ScriptBlock>
</SelectionCondition>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the SelectionCondition element. You must specify a single PropertyName or ScriptBlock element. The SelectionSetName and TypeName elements are optional. You can specify one of either element.

Attributes

None.

Child Elements

Element

Description

PropertyName Element for SelectionCondition for EntrySelectedBy for EnumerableExpansion (Format)

Optional element.

Specifies the .NET Framework property that triggers the condition.

ScriptBlock Element for SelectionCondition for EntrySelectedBy for EnumerableExpansion (Format)

Optional element.

Specifies the script that triggers the condition.

SelectionSetName Element for SelectionCondition for EntrySelectedBy for EnumerableExpansion (Format)

Optional element.

Specifies the set of .NET Framework types that triggers the condition.

TypeName Element for SelectionCondition for EntrySelectedBy for EnumerableExpansion (Format)

Optional element.

Specifies a .NET Framework type that triggers the condition.

Parent Elements

Element

Description

EntrySelectedBy Element for EnumerableExpansion (Format)

Defines which .NET Framework collection objects are expanded by this definition.

Each definition must have at least one type name, selection set, or selection condition defined.

When you are defining a selection condition, the following requirements apply:

  • The selection condition must specify a least one property name or a script block, but cannot specify both.

  • The selection condition can specify any number of .NET Framework types or selection sets, but cannot specify both.

For more information about how to use selection conditions, see Defining Conditions for Diplaying Data.

For more information about other components of a wide view, see Wide View.

Show: