QueryColumnsChangeEventArgs class

Provides data for Korzh.EasyQuery.Query.ColumnsChanged event

public class Korzh.EasyQuery.QueryColumnsChangeEventArgs
    : EventArgs

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

Assembly: Korzh.EasyQuery.dll

Constructors

Name Type Description
QueryColumnsChangeEventArgs(ChangeType what, QueryColumn column, int info, int part = 0) void Initializes a new instance of the Korzh.EasyQuery.QueryColumnsChangeEventArgs class.
QueryColumnsChangeEventArgs(ChangeType what, QueryColumn column) void Initializes a new instance of the Korzh.EasyQuery.QueryColumnsChangeEventArgs class.
QueryColumnsChangeEventArgs() void Initializes a new instance of the Korzh.EasyQuery.QueryColumnsChangeEventArgs class.

Properties

Name Type Description
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
Part int Gets or sets the value that indicates what part of the column was changed 0 - we don't know, 1 - expression, 2 - caption, 3 - sorting
What ChangeType Gets or sets the attribute that shows what exactly was changed.

Static Properties

Name Type Description
Default QueryColumnsChangeEventArgs Gets the default ConditionsChangedEventArgs object.