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 how a new group of objects is displayed.
Schema
- Configuration Element
- ViewDefinitions Element
- View Element
- GroupBy Element
- CustomControl Element
- CustomEntries Element
- CustomEntry Element
- CustomItem Element
- ExpressionBinding 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 GroupBy | Optional element. Specifies the .NET property that triggers the condition. |
ScriptBlock Element for ItemSelectionCondition for GroupBy | Optional element. Specifies the script that triggers the condition. |
Parent Elements
Element | Description |
---|---|
ExpressionBinding Element for CustomItem for GroupBy | Defines the data that is displayed by the control. |
Remarks
You can specify one property name or a script for this condition but cannot specify both.
See Also
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
PowerShell