Editar

Partilhar via


EntrySelectedBy Element for CustomEntry for CustomControl for View

Defines the .NET types that use this custom entry or the condition that must exist for this entry to be used.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View 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 the parent element of the EntrySelectedBy element.

Attributes

None.

Child Elements

Element Description
SelectionCondition Element for EntrySelectedBy for CustomEntry Optional element.

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

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

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

Parent Elements

Element Description
CustomEntry Element for CustomEntries for View Defines the controls used by specific .NET objects.

Remarks

You must specify at least one type, selection set, or selection condition for an entry. 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 entry 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.

For more information about the components of a custom control view, see Custom Control View.

See Also

SelectionCondition Element for EntrySelectedBy for CustomEntry

SelectionSetName Element for EntrySelectedBy for CustomEntry

TypeName Element for EntrySelectedBy for CustomEntry

CustomEntry Element for CustomEntries for View

Custom Control View

Writing a PowerShell Formatting File