Skip to main content

columnspanel-class

Represents a set of columns used in SELECT clause in SQL query.

public class Korzh.EasyQuery.Wpf.ColumnsPanel
: XPanel

Assembly: Korzh.EasyQuery.WPF.dll

Constructors

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

Properties

NameTypeDescription
AllowColumnsDraggingboolGets or sets a value indicating whether using drag-n-drop to change columns order is possible.
AttributeElementFormatstringGets or sets the attribute element format.
EditModeColumnsPanel.EditModeKindGets or sets the edit mode.
IsAddRowVisibleboolGets or sets a value indicating whether "Click here to add ..." row is visible.
QueryQueryGets or sets the query.
SortEntitiesXSortOrderGets or sets the order of entities in context menu.

Methods

NameTypeDescription
OnApplyTemplate()voidWhen overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
UpdateModelInfo()voidUpdates all information based on data model information (such as list of entities).

Static Fields

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

Static Methods

NameTypeDescription
CreateDragLabel()Label