WideControl Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents a control that displays content in a wide column format. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.Management.Automation.PSControl
    System.Management.Automation.WideControl

public sealed class WideControl : PSControl

NameDescription
System_CAPS_pubmethodWideControl()

Initializes a new instance of the WideControl class that is empty. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodWideControl(IEnumerable<WideControlEntryItem>)

Initializes a new instance of the WideControl class that contains the number of WideControlEntryItem objects. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodWideControl(IEnumerable<WideControlEntryItem>, UInt32)

Initializes a new instance of the WideControl class that contains the number of WideControlEntryItem objects and the number of columns to display. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodWideControl(UInt32)

Initializes a new instance of the WideControl class that contains the number of columns to display. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubpropertyAutoSize

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

System_CAPS_pubpropertyColumns

Gets the number of columns to display. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyEntries

Gets the entries in the column. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyGroupBy

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.)

System_CAPS_pubpropertyOutOfBand

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.)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreate(Boolean, Boolean, UInt32)

Create a default WideControl.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

To display content in a table format, see TableControl.

To display content in a list format, see ListControl.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: