SimpleColumnRow class

The class defines the entityAttr rows for the Korzh.EasyQuery.WinForms.ColumnsPanel.

public class Korzh.EasyQuery.WinForms.SimpleColumnRow
    : ColumnRow

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

Assembly: Korzh.EasyQuery.WinForms.dll

Constructors

Name Type Description
SimpleColumnRow(ColumnsPanel aPanel, QueryColumn aColumn, bool useCheckBox) void Initializes a new instance of the Korzh.EasyQuery.WinForms.SimpleColumnRow class.

Fields

Name Type Description
DistinctMenuItem ValueItem An item which represents "Distinct" menu item for column row

Properties

Name Type Description
TypeName int Gets the name of the column row dataType.

Methods

Name Type Description
AddUpdateCommonElements() void Adds the common (independent of row dataType) row elements.
ApplyElementFormats(XElement element) void Applies formats for one element.
CoreApplyFormats() void Applies the formats used in parent object. This method is called when row is added into Korzh.EasyQuery.WinForms.XPanel
CoreElementBeforeDropDown(XElement sender) void This method is called at the beginning of Korzh.EasyQuery.WinForms.XElement.DropDown method execution in some element of the current row.
ElementContentChanged(XElement element, bool valueChanged, bool textChanged) void This method is called when the content of some element has been changed
ElementTextAdjusting(XElement element, string newValue, string text) string This method is called when we need to adjust element's text according to its value
GetAttributeCaption(EntityAttr attr) string Gets the attribute caption formatted according to panel's Appearance.AttrElementFormat.

Static Properties

Name Type Description
STypeName int Gets the name of the column row class dataType.