Düzenle

Aracılığıyla paylaş


ScriptBlock Element for SelectionCondition for EntrySelectedBy for TableControl

Specifies the script block that triggers the condition. When this script is evaluated to true, the condition is met, and the table entry is used.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • TableControl Element
  • TableRowEntries Element
  • TableRowEntry Element
  • EntrySelectedBy Element
  • SelectionCondition Element
  • ScriptBlock Element

Syntax

<ScriptBlock>ScriptToEvaluate</ScriptBlock>

Attributes and Elements

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

Attributes

None.

Child Elements

None.

Parent Elements

Element Description
SelectionCondition Element for EntrySelectedBy for TableRowEntry Defines the condition that must exist for this table entry to be used.

Text Value

Specify the script that is evaluated.

Remarks

The selection condition must specify at least one script block or property name, but cannot specify both. For more information about how to use selection conditions, see Defining Conditions for when a View Entry or Item is Used.

For more information about the components of a table view, see Creating a Table View.

See Also

Creating a Table View

Defining Conditions for When Data Is Displayed

PropertyName Element for SelectionCondition for EntrySelectedBy for TableRowEntry

SelectionCondition Element for EntrySelectedBy for TableRowEntry

Writing a PowerShell Formatting File