Redigera

Dela via


Configuration Element

Represents the top-level element of a formatting file.

Schema

  • Configuration Element

Syntax

<Configuration>
  <DefaultSettings>...</DefaultSettings>
  <SelectionSets>...</SelectionSets>
  <Controls>...</Controls>
  <ViewDefinitions>...</ViewDefinitions>
</Configuration>

Attributes and Elements

The following sections describe the attributes, child elements, and the parent element of the Configuration element. This element must be the root element for each formatting file, and this element must contain at least one child element.

Attributes

None.

Child Elements

Element Description
Controls Element for Configuration Optional element.

Defines the common controls that can be used by all views of the formatting file.
DefaultSettings Element Optional element.

Defines common settings that apply to all the views of the formatting file.
SelectionSets Element Format Optional element.

Defines the common sets of .NET objects that can be used by all views of the formatting file.
ViewDefinitions Element Optional element.

Defines the views used to display objects.

Parent Elements

None.

Remarks

Formatting files define how objects are displayed. In most cases, this root element contains a ViewDefinitions element that defines the table, list, and wide views of the formatting file. In addition to the view definitions, the formatting file can define common selection sets, settings, and controls that those views can use.

See Also

Controls Element for Configuration

DefaultSettings Element

SelectionSets Element

ViewDefinitions Element

Writing a PowerShell Formatting File