KaxListViewSortExpressionCollection Methods |
The KaxListViewSortExpressionCollection type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds a KaxListViewSortExpression to the collection.
|
|
AddAt |
Adds a KaxListViewSortExpression to the collection at the specified
index.
|
|
AddSortExpression(String) |
If AllowMultiFieldSorting is true adds the sortExpression in the collection.
Else any other expression previously stored in the collection wioll be removed
|
|
AddSortExpression(KaxListViewSortExpression) |
If AllowMultiFieldSorting is true adds the sortExpression in the collection.
Else any other expression previously stored in the collection wioll be removed
|
|
ChangeSortOrder |
Adds the sort field (expression parameter) if the collection does not alreqady contain the field. Else the sort order of the field will be inverted. The default change order is
Asc -> Desc -> No Sort. The No-Sort state can be controlled using AllowNaturalSort property
|
|
Clear |
Clears the KaxListViewSortExpressionCollection of all items.
|
|
ContainsExpression |
Returns true or false depending on whether the specified sorting expression
exists in the collection. Takes a string parameter.
|
|
ContainsSortExpression |
Returns true or false depending on whether the specified sorting expression exists
in the collection. Takes a KaxListViewSortExpression parameter.
|
|
GetEnumerator |
Returns an enumerator that iterates through the
KaxListViewSortExpressionCollection.
|
|
GetExpression |
Find a SortExpression in the collection if it contains any with sort field = expression
|
|
GetSortString |
Get a comma separated list of sort fields and sort-order, in the same format used by
DataView.Sort string expression. Returns null (Nothing) if there are no sort expressions in the collection
|
|
IndexOf |
Searches for the specified
KaxListViewSortExpression and
returns the zero-based index of the first occurrence within the entire
KaxListViewSortExpressionCollection.
|
|
RemoveSortExpression |
Removes the specified KaxListViewSortExpression from the collection.
|