ListControl の ListItem の ItemSelectionCondition 要素

このリスト項目を使用するために必要な条件を定義します。

スキーマ

  • Configuration 要素
  • ViewDefinitions 要素
  • 要素の表示
  • ListControl 要素
  • ListEntries 要素
  • ListEntry 要素
  • ListItems 要素
  • ListItem 要素
  • ItemSelectionCondition 要素

構文

<ItemSelectionCondition>
  <PropertyName>.NetTypeProperty</PropertyName>
  <ScriptBlock>ScriptToEvaluate</ScriptBlock>
</ItemSelectionCondition>

属性および要素

次のセクションでは、要素の属性、子要素、および親要素について説明し ItemSelectionCondition ます。

属性

なし。

子要素

要素 説明
ListControl の ItemSelectionCondition の PropertyName 要素 省略可能な要素です。

条件をトリガーする .NET プロパティを指定します。
ListControl の ItemSelectionCondition の ScriptBlock 要素 省略可能な要素です。

条件をトリガーするスクリプトを指定します。

親要素

要素 説明
ListControl の ListItems の ListItem 要素 リストビューの行に表示される値を持つプロパティまたはスクリプトを定義します。

注釈

この条件には、1つのプロパティ名またはスクリプトを指定できますが、両方を指定することはできません。

参照

ListControl の ListItems の ListItem 要素

ListControl の ItemSelectionCondition の PropertyName 要素

ListControl の ItemSelectionCondition の ScriptBlock 要素

PowerShell 書式設定ファイルを記述する