編輯

共用方式為


CustomItem Element for CustomEntry for Controls for View

Defines what data is displayed by the control and how it is displayed. 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
  • CustomItem Element

Syntax

<CustomItem>
  <ExpressionBinding>...</ExpressionBinding>
  <NewLine/>
  <Text>TextToDisplay</Text>
  <Frame>...<Frame>
</CustomItem>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the CustomItem element. For more information, see Remarks.

Attributes

None.

Child Elements

Element Description
ExpressionBinding Element for CustomItem for Controls for View Optional element.

Defines the data that is displayed by the control.
Frame Element for CustomItem for Controls for View Optional element.

Defines how the data is displayed, such as shifting the data to the left or right.
NewLine Element for CustomItem for Controls for View Optional element.

Adds a blank line to the display of the control.
Text Element for CustomItem for Controls for View Optional element.

Adds text, such as parentheses or brackets, to the display of the control.

Parent Elements

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

Remarks

When specifying the child elements of the CustomItem element, keep the following in mind:

  • The child elements must be added in the following sequence: ExpressionBinding, NewLine, Text, and Frame.
  • There is no maximum limit to the number of sequences that you can specify.
  • In each sequence, there is no maximum limit to the number of ExpressionBinding elements that you can use.

See Also

ExpressionBinding Element for CustomItem for Controls for View

Frame Element for CustomItem for Controls for View

NewLine Element for CustomItem for Controls for View

Text Element for CustomItem for Controls for View

Writing a PowerShell Formatting File