ItemSelectionCondition Element for ExpressionBinding for CustomControl (Format)
Defines the condition that must exist for this control to be used. There is no limit to the number of selection conditions that can be specified for a control item. This element is used when defining a custom control view.
ViewDefinitions Element (Format)
View Element (Format)
CustomControl Element for GroupBy (Format)
CustomEntries Element for CustomControl for View (Format)
CustomEntry Element for CustomEntries for CustomControl for View (Format)
CustomItem Element for CustomEntry for CustomControl for View (Format)
ExpressionBinding Element for CustomItem for CustomControl for View (Format)
ItemSelectionCondition Element for ExpressionBinding for CustomControl (Format)
<ItemSelectionCondition> <PropertyName>.NetTypeProperty</PropertyName> <ScriptBlock>ScriptToEvaluate</ScriptBlock> </ItemSelectionCondition>
The following sections describe attributes, child elements, and the parent element of the ItemSelectionCondition element.
Attributes
None.
Child Elements
| Element | Description |
|---|---|
|
PropertyName Element for ItemSelectionCondition for CustomControl for View (Format) |
Optional element. Specifies the .NET Framework property that triggers the condition. |
|
ScriptBlock Element for ItemSelectionCondition for CustomControl for View (Format) |
Optional element. Specifies the script that triggers the condition. |
Parent Elements
| Element | Description |
|---|---|
|
ExpressionBinding Element for CustomItem for CustomControl for View (Format) |
Defines the data that is displayed by the control. |
You can specify one property name or a script for this condition but cannot specify both.
