ExpressionBinding Element for CustomItem for CustomControl for View (Format)
Defines the data that is displayed by the control. This element is used when defining a custom control view.
<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 CustomControl for View (Format) | Optional element. Specifies the name of a common control or a view control. |
EnumerateCollection Element for ExpressionBinding for CustomControl for View (Format) | Optional element. Specified that the elements of collections are displayed. |
ItemSelectionCondition Element for ExpressionBinding for CustomControl for View (Format) | Optional element. Defines the condition that must exist for this control to be used. |
PropertyName Element for ExpressionBinding for CustomControl for View (Format) | Optional element. Specifies the .NET Framework property whose value is displayed by the control. |
ScriptBlock Element for ExpressionBinding for CustomCustomControl for View (Format) | Optional element. Specifies the script whose value is displayed by the control. |
Parent Elements
Element | Description |
|---|---|
CustomItem Element for CustomEntry for CustomControl for View (Format) | Defines what data is displayed by the custom control view and how it is displayed. |
CustomControlName Element for ExpressionBinding for CustomControl for View (Format)
EnumerateCollection Element for ExpressionBinding for CustomControl for View (Format)
ItemSelectionCondition Element for ExpressionBinding for CustomControl for View (Format)
PropertyName Element for ExpressionBinding for CustomControl for View (Format)
ScriptBlock Element for ExpressionBinding for CustomControl for View (Format)
CustomItem Element for CustomEntry for CustomControl for View (Format)
Writing a Windows PowerShell Formatting File