QueryPanel class

Used for building query conditions (WHERE section in SQL statement)

public class Korzh.EasyQuery.Wpf.QueryPanel
    : XPanel

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

Assembly: Korzh.EasyQuery.WPF.dll


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


Name Type Description
AttributeElementFormat string Gets or sets the attribute element format.
EditMode EditModeKind Gets or sets the edit mode.
IsAddRowVisible bool Gets or sets a value indicating whether this instance of eddition row visible.
Query Query Gets or sets the query.
SortEntities XSortOrder Gets or sets the order of entities in context menu.


Name Type Description
AddSimpleCondition(Condition parentGroup, string attrId) Condition
AddSimpleCondition(Condition parentGroup, EntityAttr attr) Condition
OnApplyTemplate() void When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
RefreshList(string listName) void Refreshes the list with specified name in all elements of all rows
UpdateModelInfo() void Updates all information based on data model information (such as list of entities).

Static Fields

Name Type Description
QueryProperty DependencyProperty Identifies the Korzh.EasyQuery.Wpf.QueryPanel.Query dependency property

Static Properties

Name Type Description
Texts TextStorage Gets the texts used for localization.