Skip to main content

querypanel-class

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

public class Korzh.EasyQuery.Wpf.QueryPanel
: XPanel

Assembly: Korzh.EasyQuery.WPF.dll

Constructors

NameTypeDescription
QueryPanel()voidInitializes a new instance of the Korzh.EasyQuery.Wpf.QueryPanel class.

Properties

NameTypeDescription
AttributeElementFormatstringGets or sets the attribute element format.
EditModeEditModeKindGets or sets the edit mode.
EnableAggrSelectInSubQuerybool
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.

Methods

NameTypeDescription
AddSimpleCondition(Condition parentGroup, string attrId)Condition
AddSimpleCondition(Condition parentGroup, EntityAttr attr)Condition
CopySettingsFrom(QueryPanel source)voidCopies all the settings from another query panel control.
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).

Static Fields

NameTypeDescription
QueryPropertyDependencyPropertyIdentifies the Korzh.EasyQuery.Wpf.QueryPanel.Query dependency property

Static Properties

NameTypeDescription
TextsTextStorageGets the texts used for localization.