| description | ExpressionBinding Element for CustomItem for Controls for View |
|---|---|
| ms.date | 08/23/2021 |
| title | ExpressionBinding Element for CustomItem for Controls for View |
Defines the data that is displayed by the control. This element is used when defining controls that can be used by a view.
- Configuration Element
- ViewDefinitions Element
- View Element
- Controls Element
- Control Element
- CustomControl Element
- CustomEntries Element
- CustomEntry Element
- CustomItem Element
- ExpressionBinding Element
<ExpressionBinding>
<CustomControl>...</CustomControl>
<CustomControlName>NameofCommonCustomControl</CustomControlName>
<EnumerateCollection/>
<ItemSelectionCondition>...</ItemSelectionCondition>
<PropertyName>Nameof.NetTypeProperty</PropertyName>
<ScriptBlock>ScriptToEvaluate></ScriptBlock>
</ExpressionBinding>The following sections describe attributes, child elements, and the parent element of the
ExpressionBinding element.
None.
| Element | Description |
|---|---|
CustomControl Element |
Optional element. Defines a control that is used by this control. |
| CustomControlName Element for ExpressionBinding for Controls for View | Optional element. Specifies the name of a common control or a view control. |
| EnumerateCollection Element for ExpressionBinding for Controls for View | Optional element. Specifies that the elements of collections are displayed. |
| ItemSelectionCondition Element of ExpressionBinding for Controls for View | Optional element. Defines the condition that must exist for this control to be used. |
| PropertyName Element for ExpressionBinding for Controls for View | Optional element. Specifies the .NET property whose value is displayed by the control. |
| ScriptBlock Element for ExpressionBinding for Controls for View | Optional element. Specifies the script whose value is displayed by the control. |
| Element | Description |
|---|---|
| CustomItem Element for CustomEntry for Controls for View | Defines what data is displayed by the control and how it is displayed. |
CustomItem Element for CustomEntry for Controls for View
CustomControlName Element for ExpressionBinding for Controls for View
EnumerateCollection Element for ExpressionBinding for Controls for View
ItemSelectionCondition Element of ExpressionBinding for Controls for View
PropertyName Element for ExpressionBinding for Controls for View
ScriptBlock Element for ExpressionBinding for Controls for View