Information
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.

ItemSelectionCondition Element for ListItem for ListControl (Format)

 

Defines the condition that must exist for this list item to be used.

<ItemSelectionCondition>
  <PropertyName>.NetTypeProperty</PropertyName>
  <ScriptBlock>ScriptToEvaluate</ScriptBlock>
</ItemSelectionCondition>

Attributes and Elements

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 ListControl (Format)

Optional element.

Specifies the .NET Framework property that triggers the condition.

ScriptBlock Element for ItemSelectionCondition for ListControl (Format)

Optional element.

Specifies the script that triggers the condition.

Parent Elements

Element

Description

ListItem Element for ListItems for ListControl (Format)

Defines the property or script whose value is displayed in a row of the list view.

You can specify one property name or a script for this condition but cannot specify both.

Show: