Delen via


WideControl Class

Definition

Defines a list control.

public ref class WideControl sealed : System::Management::Automation::PSControl
public sealed class WideControl : System.Management.Automation.PSControl
type WideControl = class
    inherit PSControl
Public NotInheritable Class WideControl
Inherits PSControl
Inheritance
WideControl

Constructors

WideControl()

Default constructor for WideControl

WideControl(IEnumerable<WideControlEntryItem>, UInt32)

Public constructor for WideControl

WideControl(IEnumerable<WideControlEntryItem>)

Public constructor for WideControl

WideControl(UInt32)

Construct an instance with columns

Properties

AutoSize

When true, widths are calculated based on more than the first object.

Columns

Number of columns in the control

Entries

Entries in this wide 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, Boolean, UInt32)

Create a default WideControl

Applies to