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
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 |
EntityFits(Entity ent) | bool | Returns |
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). |