Retrieves the count of Columns, in the control's SortBar
Type
Description
Long
A long expression that specifies the number of columns being shown in the
control's sort bar.
By default, the SortBarColumnsCount property is 0. The
SortBarColumnsCount property counts the columns being shown in the sort bar.
The SortBarColumn /
SortBarColumnsCount properties can be used to enumerate the columns in the
control's sort bar. Use the SortOrder
property of the Column object on
SortAscending /
SortDescending to add a column to the sort bar, on
SortNone to remove the column from the control's sort bar. Use the SortType
property to determine the way how the column is sorted. Use the AllowSort
property to avoid sorting a column when the user clicks the column. Use the SingleSort
property to specify whether the control supports sorting by single or multiple
columns. For instance, the SortBarColumnsCount counts the number of grouped
columns, if the control's AllowGroupBy
property is True.