Skip to content

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

NameTypeDescription
QueryPanel()voidInitializes a new instance of the Korzh.EasyQuery.Wpf.QueryPanel class.
NameTypeDescription
AttributeElementFormatstringGets or sets the attribute element format.
EditModeEditModeKindGets or sets the edit mode.
IsAddRowVisibleboolGets or sets a value indicating whether this instance of eddition row visible.
QueryQueryGets or sets the query.
SortEntitiesXSortOrderGets or sets the order of entities in context menu.
NameTypeDescription
AddSimpleCondition(Condition parentGroup, string attrId)Condition
AddSimpleCondition(Condition parentGroup, EntityAttr attr)Condition
OnApplyTemplate()voidWhen overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
RefreshList(string listName)voidRefreshes the list with specified name in all elements of all rows
UpdateModelInfo()voidUpdates all information based on data model information (such as list of entities).
NameTypeDescription
QueryPropertyDependencyPropertyIdentifies the Korzh.EasyQuery.Wpf.QueryPanel.Query dependency property
NameTypeDescription
TextsTextStorageGets the texts used for localization.