EntrySelectedBy Element for CustomEntry for Controls for Configuration (Format)
Defines the .NET Framework types that use the definition of the common control or the condition that must exist for this control to be used. This element is used when defining a common control that can be used by all the views in the formatting file.
<EntrySelectedBy> <TypeName>Nameof.NetType</TypeName> <SelectionSetName>SelectionSet</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 Controls for Configuration (Format) | Optional element. Defines the condition that must exist for the common control definition to be used. |
SelectionSetName Element for EntrySelectedBy for Controls for Configuration (Format) | Optional element. Specifies a set of .NET Framework types that use this definition of the common control. |
TypeName Element for EntrySelectedBy for Controls for Configuration (Format) | Optional element. Specifies a .NET Framework type that uses this definition of the common control. |
Parent Elements
Element | Description |
|---|---|
CustomEntry Element for CustomControl for Controls for Configuration (Format) | Provides a definition of the common control. |
At a minimum, each definition must have at least one .NET Framework type, selection set, or selection condition specified. There is no maximum limit to the number of types, selection sets, or selection conditions that you can specify.
SelectionCondition Element for EntrySelectedBy for Controls for Configuration (Format)
SelectionSetName Element for EntrySelectedBy for Controls for Configuration (Format)
CustomEntry Element for CustomControl for Controls for Configuration (Format)
TypeName Element for EntrySelectdBy for Controls for Configuration (Format)
Writing a Windows PowerShell Formatting File