Editar

Compartilhar via


Control Element for Controls for Configuration

Defines a common control that can be used by all the views of the formatting file and the name that is used to reference the control.

Schema

  • Configuration Element
  • Controls Element
  • Control Element

Syntax

<Control>
  <Name>NameOfControl</Name>
  <CustomControl>...</CustomControl>
</Control>

Attributes and Elements

The following sections describe the attributes, child elements, and the parent element for the Control element. You must specify only one of each child element.

Attributes

None.

Child Elements

Element Description
CustomControl Element for Control for Controls for Configuration Required element.

Defines the control.
Name Element for Control for Configuration Required element.

Specifies the name used to reference the control.

Parent Elements

Element Description
Controls Element of Configuration Defines the common controls that can be used by all views of the formatting file or by other controls.

Remarks

The name given to this control can be referenced in the following elements:

See Also

Controls Element of Configuration

CustomControl element for Control for Configuration

ExpressionBinding Element for CustomItem

GroupBy Element for View(Format)

Name Element for Control for Controls for Configuration

Writing a PowerShell Formatting File