ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.5.2 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / Cols Property

In This Topic
    Cols Property (C1FlexPivotGrid)
    In This Topic
    Gets the collection of C1.Win.C1FlexGrid.Column objects in the grid.
    Syntax
    'Declaration
     
    Public Property Cols As ColumnCollection
    public ColumnCollection Cols {get; set;}
    Remarks

    The C1.Win.C1FlexGrid.C1FlexGridBase.Cols property returns a reference to the list of columns that make up the grid. With this reference, you can add, remove, move, and count the columns. For more information on the tasks that can be performed with this collection, see the C1.Win.C1FlexGrid.ColumnCollection object.

    This property is read-only. The grid creates and manages the column collection for you.

    Upgrade Note: In the VSFlexGrid ActiveX control, the Cols and FixedCols properties corresponded to the number of columns and fixed columns on the grid. In C1FlexGrid, use Cols.Count and Cols.Fixed instead.

    See Also