Windows desktop applications
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScriptBlock Element for SelectionCondition 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 definition is used. This element is used when defining a custom control view.


The following sections describe attributes, child elements, and the parent element of the ScriptBlock element.



Child Elements


Parent Elements


Element Description

SelectionCondition Element for EntrySelectedBy for CustomControl (Format)

Defines a condition that must exist for the 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.

Community Additions

© 2016 Microsoft