Lire en anglais

Partager via


ListControl Class

Definition

Defines a list control.

C++
public ref class ListControl sealed : System::Management::Automation::PSControl
Inheritance
ListControl

Constructors

ListControl()

Initiate an instance of ListControl

ListControl(IEnumerable<ListControlEntry>)

Public constructor for ListControl

Properties

Entries

Entries in this list control

GroupBy

Each control can group items and specify a header for the group. You can group by same property value, or result of evaluating a script block.

(Inherited from PSControl)
OutOfBand

When the "shape" of formatting has been determined by previous objects, sometimes you want objects of different types to continue using that shape (table, list, or whatever) even if they specify their own views, and sometimes you want your view to take over. When OutOfBand is true, the view will apply regardless of previous objects that may have selected the shape.

(Inherited from PSControl)

Methods

Applies to

Produit Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0