SortedColumnList class

Represents the list of sorted columns

public class Korzh.EasyQuery.SortedColumnList
    : QueryColumnList, IComparer<QueryColumn>

Package: Korzh.EasyQuery (targets: netstandard2.0)

Assembly: Korzh.EasyQuery.dll

Constructors

Name Type Description
SortedColumnList(Query query) void Initializes a new instance of the SortedColumnList class.

Methods

Name Type Description
BeginUpdate() void Begins the update process.
ClearItems() void Removes all elements from the System.Collections.ObjectModel.Collection'1.
Compare(QueryColumn x, QueryColumn y) int Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
CoreSortOrderChanged(SortOrderChangedEventArgs e) void Notify parent query about the changes in the list of sorted columns
EndUpdate() void Ends the update process.
InsertItem(int index, QueryColumn item) void Inserts an element into the System.Collections.ObjectModel.Collection'1 at the specified index.
Move(QueryColumn col, int shift) void Moves the specified column.
Move(int index, int newIndex) void Moves the specified column.
RemoveItem(int index) void Removes the element at the specified index of the System.Collections.ObjectModel.Collection'1.
Sort() void Sorts the list of columns.