Modifier

Partager via


SelectionSetName Element for SelectionCondition for CustomControl for View

Specifies the set of .NET types that trigger the condition. When any of the types in this set are present, the condition is met and the object is displayed using this control. This element is used when defining a custom control view.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • CustomControl Element
  • CustomEntries Element
  • CustomEntry Element
  • EntrySelectedBy Element

Syntax

<SelectionSetName>NameofSelectionSet</SelectionSetName>

Attributes and Elements

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

Attributes

None.

Child Elements

None.

Parent Elements

Element Description
SelectionCondition Element for EntrySelectedBy for CustomControl for View Defines a condition that must exist for the control definition to be used.

Text Value

Specify the name of the selection set.

Remarks

Selection sets are common groups of .NET objects that can be used by any view that the formatting file defines. For more information about creating and referencing selection sets, see Defining Sets of Objects.

The selection condition can specify a selection set or .NET type, but cannot specify both. For more information about how to use selection conditions, see Defining Conditions for when Data is Displayed.

See Also

SelectionCondition Element for EntrySelectedBy for CustomControl for View

Defining Conditions for When Data Is Displayed

Defining Selection Sets

Writing a PowerShell Formatting File