ScriptBlock Element for ItemSelectionCondition for Controls for View
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 controls that can be
used by a view.
Schema
- Configuration Element
- ViewDefinitions Element
- View Element
- Controls Element
- Control Element
- CustomControl Element
- CustomEntries Element
- CustomEntry Element
- CustomItem Element
- ExpressionBinding Element
- ItemSelectionCondition 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 |
---|---|
ItemSelectionCondition Element of ExpressionBinding for Controls for View | Defines the condition that must exist for this control to be used. |
Text Value
Specify the script that is evaluated.
Remarks
If this element is used, you cannot specify the PropertyName element when defining the selection condition.
See Also
PropertyName Element for ItemSelectionCondition for Controls for View
ItemSelectionCondition Element of ExpressionBinding for Controls for View
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
PowerShell