sortorderchangedeventargs-class
Provides data for Korzh.EasyQuery.Query.SortOrderChanged event
public class Korzh.EasyQuery.SortOrderChangedEventArgs
: EventArgs
Assembly: Korzh.EasyQuery.dll
Constructors
| Name | Type | Description |
|---|---|---|
SortOrderChangedEventArgs(ChangeType what, QueryColumn column, int info) | void | Initializes a new instance of the Korzh.EasyQuery.QueryColumnsChangeEventArgs class. |
| SortOrderChangedEventArgs(ChangeType what, QueryColumn column) | void | Initializes a new instance of the Korzh.EasyQuery.QueryColumnsChangeEventArgs class. |
| SortOrderChangedEventArgs() | void | Initializes a new instance of the Korzh.EasyQuery.QueryColumnsChangeEventArgs class. |
Properties
| Name | Type | Description |
|---|---|---|
| Action | ChangeType | Gets or sets the attribute that shows what exactly was changed. |
| Column | QueryColumn | Gets or sets the column which was changed. Can be null in case of Total change |
| Info | int | Gets 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 |
| SyncColSortOrder | bool | Gets or sets a value indicating whether the order of columns must be synchronized with their sorting order. |
| What | ChangeType |
Events
| Name | Type | Description |
|---|---|---|
| SortOrderChanged | SortOrderChangedEventHandler | Occurs when the list of sorted columns was changed. |
Methods
| Name | Type | Description |
|---|---|---|
| OnSortOrderChanged(SortOrderChangedEventArgs e) | void | Raises the SortOrderChanged event. |
Static Properties
| Name | Type | Description |
|---|---|---|
| Default | SortOrderChangedEventArgs | Gets the default ConditionsChangedEventArgs object. |