Editar

Partilhar via


CustomEntry Element for CustomControl for Controls for Configuration

Provides a definition of the common control. This element is used when defining a common control that can be used by all the views in the formatting file.

Schema

  • Configuration Element
  • Controls Element
  • Control Element
  • CustomControl Element
  • CustomEntries Element
  • CustomEntry Element

Syntax

<CustomEntry>
  <EntrySelectedBy>...</EntrySelectedBy>
  <CustomItem>...</CustomItem>
</CustomEntry>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the CustomEntry element. You must specify the items displayed by the definition.

Attributes

None.

Child Elements

Element Description
EntrySelectedBy Element for CustomEntry for Controls for Configuration Optional element.

Defines the .NET types that use the definition of the common control or the condition that must exist for this control to be used.
CustomItem Element for CustomEntry for Controls for Configuration Required element.

Defines what data is displayed by the control and how it is displayed.

Parent Elements

Element Description
CustomEntries Element for CustomControl for Configuration Provides the definitions of the common control.

Remarks

In most cases, only one definition is required for each common custom control, but it is possible to have multiple definitions if you want to use the same control to display different .NET objects. In those cases, you can provide a separate definition for each object or set of objects.

See Also

CustomEntries Element for CustomControl for Configuration

CustomItem Element for CustomEntry for Controls for Configuration

Writing a PowerShell Formatting File