適用于 CustomControl 的 ItemSelectionCondition 的 PropertyName 元素(用於 View)

指定觸發條件的 .NET 屬性。 當這個屬性存在或評估為時,就 true 會符合條件,並且會使用控制項。 定義自訂控制項視圖時,會使用這個元素。

結構描述

  • 組態元素
  • ViewDefinitions 元素
  • View 元素
  • CustomControl 元素
  • 適用于 CustomControl 的 CustomEntries 元素(View)
  • 適用于 CustomEntries 的 CustomEntry 元素(View)
  • 適用于 CustomEntry 的 CustomItem 元素(View)
  • CustomControl for View 的 CustomItem ExpressionBinding 元素
  • CustomControl for View 的運算式系結 ItemSelectionCondition 元素
  • View (格式之 CustomControl 的 ItemSelectionCondition 的 PropertyName 元素

Syntax

<PropertyName>.NetTypeProperty</PropertyName>

屬性和項目

下列各節說明屬性、子專案和元素的父元素 PropertyName

屬性

無。

子元素

無。

父項目

元素 描述
CustomControl for View 的運算式系結 ItemSelectionCondition 元素 定義必須存在才能使用此控制項的條件。

文字值

指定觸發條件的 .NET 屬性名稱。

備註

如果使用此元素,則在定義選取條件時,不能指定 ScriptBlock 元素。

另請參閱

ItemSelectionCondition for CustomControl for View 的 ScriptBlock 元素

CustomControl for View 的運算式系結 ItemSelectionCondition 元素

撰寫 PowerShell 格式設定檔案