ExpressionBinding Element for CustomItem for Controls for Configuration
Defines the data that is displayed by the control. This element is used when defining a common control that can be used by all the views in the formatting file.
Schema
- Configuration Element
- Controls Element
- Control Element
- CustomControl Element
- CustomEntries Element
- CustomEntry Element
- CustomItem Element
- ExpressionBinding Element
Syntax
<ExpressionBinding>
<CustomControl>...</CustomControl>
<CustomControlName>NameofCommonCustomControl</CustomControlName>
<EnumerateCollection/>
<ItemSelectionCondition>...</ItemSelectionCondition>
<PropertyName>Nameof.NetTypeProperty</PropertyName>
<ScriptBlock>ScriptToEvaluate></ScriptBlock>
</ExpressionBinding>
Attributes and Elements
The following sections describe attributes, child elements, and the parent element of the
ExpressionBinding
element.
Attributes
None.
Child Elements
Element | Description |
---|---|
CustomControl Element |
Optional element. Defines a control that is used by this control. |
CustomControlName Element for ExpressionBinding for Controls for Configuration | Optional element. Specifies the name of a common control or a view control. |
EnumerateCollection Element for ExpressionBinding for Controls for Configuration | Optional element. Specified that the elements of collections are displayed by the control. |
ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration | Optional element. Defines the condition that must exist for this common control to be used. |
PropertyName Element for ExpressionBinding for Controls for Configuration | Optional element. Specifies the .NET property whose value is displayed by the common control. |
ScriptBlock Element for ExpressionBinding for Controls for Configuration | Optional element. Specifies the script whose value is displayed by the common control. |
Parent Elements
Element | Description |
---|---|
CustomItem Element for CustomEntry for Controls for Configuration | Defines what data is displayed by the custom control view and how it is displayed. |
Remarks
See Also
CustomItem Element for CustomEntry for Controls for Configuration
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
PowerShell