EntrySelectedBy Class

Definition

Each control (table, list, wide, or custom) may have multiple entries. If there are multiple entries, there must be a default entry with no condition, all other entries must have EntrySelectedBy specified. This is useful when you need a single view for grouping or otherwise just selecting the shape of formatting, but need distinct formatting rules for each instance. For example, when listing files, you may want to group based on the parent path, but select different entries depending on if the item is a file or directory.

C++
public ref class EntrySelectedBy sealed
Inheritance
EntrySelectedBy

Constructors

Properties

SelectionCondition

An optional condition that applies to the entry.

TypeNames

An optional list of typenames that apply to the entry.

Applies to

Proizvod Verzije
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0