편집

다음을 통해 공유


EntrySelectedBy Element for CustomEntry for Controls for View

Defines the .NET types that use this control definition or the condition that must exist for this definition to be used. This element is used when defining controls that can be used by a view.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • Controls Element
  • Control Element
  • CustomControl Element
  • CustomEntries Element
  • CustomEntry 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 parent element of the EntrySelectedBy element. You must specify at least one type, selection set, or selection condition for a definition. There is no maximum limit to the number of child elements that you can use.

Attributes

None.

Child Elements

Element Description
SelectionCondition Element for EntrySelectedBy for Controls for View Optional element.

Defines the condition that must exist for this definition to be used.
SelectionSetName Element for EntrySelectedBy for Controls for View Optional element.

Specifies a set of .NET types that use this definition of the control.
TypeName Element for EntrySelectedBy for Controls for View Optional element.

Specifies a .NET type that uses this definition of the control.

Parent Elements

Element Description
CustomEntry Element for CustomEntries for Controls for View Provides a definition of the control.

Remarks

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 when 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.

See Also

CustomEntry Element for CustomEntries for Controls for View

Writing a PowerShell Formatting File