SortingPanel class

The class for panel that works with Korzh.EasyQuery.WinForms.ColumnRow. Allows to define Query.Result.Columns sorting rules.

public class Korzh.EasyQuery.WinForms.SortingPanel
    : ColumnsPanel

Package: Korzh.EasyQuery.WinForms (targets: net461, net5.0-windows7.0, netcoreapp3.1)

Assembly: Korzh.EasyQuery.WinForms.dll

Constructors

Name Type Description
SortingPanel() void Initializes a new instance of the Korzh.EasyQuery.WinForms.SortingPanel class.

Properties

Name Type Description
AllowAddRow bool Gets or sets the ability to add sorted columns independently of Korzh.EasyQuery.WinForms.ColumnsPanel.
AllowAggrColumns bool Gets or sets the ability to create the columns with aggregation functions.
AllowEditCaptions bool Gets or sets the ability to show column captions in the control.
AllowSorting bool Gets or sets the ability to change the sort order of columns.
EditMode ColumnsPanelEditMode Gets or sets the value of panel's edit mode.
SortEditMode SortingPanel.SortEditModeKind Gets or sets the value of panel's edit mode.

Methods

Name Type Description
AddRowByColumn(QueryColumn column) void Adds the new row by .
ApplyFormats() void Applies the formats used in panel to all rows.
Clear() void Removes all rows
ColumnsChangedHandler(object sender, QueryColumnsChangeEventArgs e) void Called when Query.Result.Columns has been changed.
CoreAddSimpleColumn(EntityAttr attr) void Adds the simple column.
CreateAppearance() XPanel.XViewOptions Overrides the Korzh.EasyQuery.WinForms.XPanel.CreateAppearance method.
DoAction(object sender, string actionName, object data) void Overrides Korzh.EasyQuery.WinForms.ColumnsPanel.DoAction(System.Object,System.String,System.Object).
DoMoveRow(int idx, bool up) void Overrides the method for Ctrl+Arrow signal processing.
EntityAttributeFits(EntityAttr attr) bool Returns true if the entity attribute passed in the parameter can be used in (fits to) this panel.
EntityFits(Entity ent) bool Returns true if the entity passed in the parameter can be used in (fits to) this panel.
MoveRow(int index1, int index2) void Moves row to specified position
RefreshByColumns() void Fully refreshes the panel on the base of Korzh.EasyQuery.WinForms.ColumnsPanel.Columns.
SortOrderChangedHander(object sender, SortOrderChangedEventArgs e) void Overrides Korzh.EasyQuery.WinForms.ColumnsPanel.SortOrderChangedHander(System.Object,Korzh.EasyQuery.SortOrderChangedEventArgs).