ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.8 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / SortColumn Property

In This Topic
    SortColumn Property (C1FlexPivotGrid)
    In This Topic
    Gets a reference to the column that defines the current sort applied to the grid.
    Syntax
    'Declaration
     
    Public ReadOnly Property SortColumn As Column
    public Column SortColumn {get;}
    Remarks

    The grid may be sorted by a call to the C1.Win.C1FlexGrid.C1FlexGridBase.Sort method, by a user clicking a column header, or as a result of sorting applied directly to the object that is being used as the grid's C1.Win.C1FlexGrid.C1FlexGridBase.DataSource.

    To determine the current sort direction, use the sorted column's C1.Win.C1FlexGrid.Column.Sort property.

    If the grid is not currently sorted, this property returns null.

    See Also