PropertyName Element for ItemSelectionCondition for Controls for Configuration

Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to true, the condition is met, and the control is used. 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
  • ItemSelectionCondition Element
  • PropertyName Element

Syntax

<PropertyName>.NetTypeProperty</PropertyName>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the PropertyName element.

Attributes

None.

Child Elements

None.

Parent Elements

Element Description
ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration Defines the condition that must exist for this control to be used.

Text Value

Specify the name of the .NET property that triggers the condition.

Remarks

If this element is used, you cannot specify the ScriptBlock element when defining the selection condition.

See Also

ScriptBlock Element for ItemSelectionCondition for Controls for Configuration

ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration

Writing a PowerShell Formatting File