Skip to main content

sortedcolumnlist-class

Represents the list of sorted columns

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

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
SortedColumnList(Query query)voidInitializes a new instance of the SortedColumnList class.

Methods

NameTypeDescription
BeginUpdate()voidBegins the update process.
ClearItems()voidRemoves all elements from the System.Collections.ObjectModel.Collection'1.
Compare(QueryColumn x, QueryColumn y)intCompares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
CoreSortOrderChanged(SortOrderChangedEventArgs e)voidNotify parent query about the changes in the list of sorted columns
EndUpdate()voidEnds the update process.
InsertItem(int index, QueryColumn item)voidInserts an element into the System.Collections.ObjectModel.Collection'1 at the specified index.
Move(QueryColumn col, int shift)voidMoves the specified column.
Move(int index, int newIndex)voidMoves the specified column.
RemoveItem(int index)voidRemoves the element at the specified index of the System.Collections.ObjectModel.Collection'1.
Sort()voidSorts the list of columns.