ExpressionBinding Element for CustomItem for GroupBy

Defines the data that is displayed by the control. This element is used when defining how a new group of objects is displayed.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • GroupBy Element
  • CustomControl Element
  • CustomEntries Element
  • CustomEntry Element
  • CustomItem Element
  • ExpressionBinding Element

Syntax

<ExpressionBinding>
  <CustomControl>...</CustomControl>
  <CustomControlName>NameofCommonCustomControl</CustomControlName>
  <EnumerateCollection/>
  <ItemSelectionCondition>...</ItemSelectionCondition>
  <PropertyName>Nameof.NetTypeProperty</PropertyName>
  <ScriptBlock>ScriptToEvaluate></ScriptBlock>
</ExpressionBinding>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the ExpressionBinding element.

Attributes

None.

Child Elements

Element Description
CustomControl Element Optional element.

Defines a control that is used by this control.
CustomControlName Element for ExpressionBinding for GroupBy Optional element.

Specifies the name of a common control or a view control.
EnumerateCollection Element for ExpressionBinding for GroupByEnumerateCollection Element for ExpressionBinding for GroupBy Optional element.

Specified that the elements of collections are displayed.
ItemSelectionCondition Element for ExpressionBinding for GroupBy Optional element.

Defines the condition that must exist for this control to be used.
PropertyName Element for ExpressionBinding for GroupBy Optional element.

Specifies the .NET property whose value is displayed by the control.
ScriptBlock Element for ExpressionBinding for GroupBy Optional element.

Specifies the script whose value is displayed by the control.

Parent Elements

Element Description
CustomItem Element for CustomEntry for GroupBy Defines what data is displayed by the custom control view and how it is displayed.

See Also

CustomControlName Element for ExpressionBinding for GroupBy

EnumerateCollection Element for ExpressionBinding for GroupBy

ItemSelectionCondition Element for ExpressionBinding for GroupBy

PropertyName Element for ExpressionBinding for GroupBy

ScriptBlock Element for ExpressionBinding for GroupBy

CustomItem Element for CustomEntry for GroupBy

Writing a PowerShell Formatting File