| description | ScriptBlock Element for ItemSelectionCondition for Controls for Configuration |
|---|---|
| ms.date | 08/24/2021 |
| title | ScriptBlock Element for ItemSelectionCondition for Controls for Configuration |
Specifies the script that triggers the condition. When this script is evaluated to true, the
condition is met, and the control is used. This element is used when defining a common control that
can be used by all the views in the formatting file.
- Configuration Element
- Controls Element
- Control Element
- CustomControl Element
- CustomEntries Element
- CustomEntry Element
- CustomItem Element
- ExpressionBinding Element
- ItemSelectionCondition Element
- ScriptBlock Element
<ScriptBlock>ScriptToEvaluate</ScriptBlock>The following sections describe attributes, child elements, and the parent element of the
ScriptBlock element.
None.
None.
| Element | Description |
|---|---|
| ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration | Defines the condition that must exist for this control to be used. |
Specify the script that is evaluated.
If this element is used, you cannot specify the PropertyName element when defining the selection condition.
PropertyName Element for ItemSelectionCondition for Controls for Configuration
ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration