| description | ScriptBlock Element for SelectionCondition for Controls for Configuration |
|---|---|
| ms.date | 08/24/2021 |
| title | ScriptBlock Element for SelectionCondition for Controls for Configuration |
Specifies the script that triggers the condition. When this script is evaluated to true, the
condition is met, and the definition 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
- EntrySelectedBy Element
- SelectionCondition 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 |
|---|---|
| SelectionCondition Element for EntrySelectedBy for Controls for Configuration | Defines a condition that must exist for the common control definition to be used. |
Specify the script that is evaluated.
The selection condition must specify a least one script or property name to evaluate, but cannot specify both. For more information about how selection conditions can be used, see Defining Conditions for Displaying Data.
SelectionCondition Element for EntrySelectedBy for Controls for Configuration