Expand Minimize

ScriptBlock Element for ItemSelectionCondition for CustomControl for View (Format)

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 custom control view.

<ScriptBlock>ScriptToEvaluate</ScriptBlock>

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 for ExpressionBinding for CustomControl (Format)

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.



Show:
© 2015 Microsoft