ItemSelectionCondition Element for ListItem for ListControl
Defines the condition that must exist for this list item to be used.
Schema
- Configuration Element
- ViewDefinitions Element
- View Element
- ListControl Element
- ListEntries Element
- ListEntry Element
- ListItems Element
- ListItem Element
- ItemSelectionCondition Element
Syntax
<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 | Optional element. Specifies the .NET property that triggers the condition. |
ScriptBlock Element for ItemSelectionCondition for ListControl | Optional element. Specifies the script that triggers the condition. |
Parent Elements
Element | Description |
---|---|
ListItem Element for ListItems for ListControl | Defines the property or script whose value is displayed in a row of the list view. |
Remarks
You can specify one property name or a script for this condition but cannot specify both.
See Also
ListItem Element for ListItems for ListControl
PropertyName Element for ItemSelectionCondition for ListControl
ScriptBlock Element for ItemSelectionCondition for ListControl
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for