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.
Schema
- Configuration Element
- Controls Element
- Control Element
- CustomControl Element
- CustomEntries Element
- CustomEntry Element
- EntrySelectedBy Element
- SelectionCondition Element
- ScriptBlock Element
Syntax
<ScriptBlock>ScriptToEvaluate</ScriptBlock>
Attributes and Elements
The following sections describe attributes, child elements, and the parent element of the
ScriptBlock
element.
Attributes
None.
Child Elements
None.
Parent Elements
Element | Description |
---|---|
SelectionCondition Element for EntrySelectedBy for Controls for Configuration | Defines a condition that must exist for the common control definition to be used. |
Text Value
Specify the script that is evaluated.
Remarks
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.
See Also
SelectionCondition Element for EntrySelectedBy for Controls for Configuration
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈