Dela via


ListControl Class

Definition

Defines a list control.

public ref class ListControl sealed : System::Management::Automation::PSControl
public sealed class ListControl : System.Management.Automation.PSControl
type ListControl = class
    inherit PSControl
Public NotInheritable Class ListControl
Inherits 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

Create(Boolean)

Applies to