Skip to main content

sortorderchangedeventargs-class

Provides data for Korzh.EasyQuery.Query.SortOrderChanged event

public class Korzh.EasyQuery.SortOrderChangedEventArgs
: EventArgs

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
SortOrderChangedEventArgs(ChangeType what, QueryColumn column, int info)voidInitializes a new instance of the Korzh.EasyQuery.QueryColumnsChangeEventArgs class.
SortOrderChangedEventArgs(ChangeType what, QueryColumn column)voidInitializes a new instance of the Korzh.EasyQuery.QueryColumnsChangeEventArgs class.
SortOrderChangedEventArgs()voidInitializes a new instance of the Korzh.EasyQuery.QueryColumnsChangeEventArgs class.

Properties

NameTypeDescription
ActionChangeTypeGets or sets the attribute that shows what exactly was changed.
ColumnQueryColumnGets or sets the column which was changed. Can be null in case of Total change
InfointGets or sets the addtional information of changed column. This property can be used for different purposes. For example for ChangeType.Remove events it contains index of removed column
SyncColSortOrderboolGets or sets a value indicating whether the order of columns must be synchronized with their sorting order.
WhatChangeType

Events

NameTypeDescription
SortOrderChangedSortOrderChangedEventHandlerOccurs when the list of sorted columns was changed.

Methods

NameTypeDescription
OnSortOrderChanged(SortOrderChangedEventArgs e)voidRaises the SortOrderChanged event.

Static Properties

NameTypeDescription
DefaultSortOrderChangedEventArgsGets the default ConditionsChangedEventArgs object.