Skip to main content

xpanel-class

A panel that contains and displays Korzh.EasyQuery.WinForms.XRow rows.

public abstract class Korzh.EasyQuery.WinForms.XPanel
: Panel

Assembly: Korzh.EasyQuery.WinForms.dll

Constructors

NameTypeDescription
XPanel()voidInitializes a new instance of the Korzh.EasyQuery.WinForms.XPanel class.

Properties

NameTypeDescription
ActiveRowXRowGets the active row.
ActiveRowIndexintGets or sets the index of the active row.
AppearanceXPanel.XViewOptionsGets the appearance object.
AutoScrollboolGets or sets a value indicating whether the container enables the user to scroll to any controls placed outside of its visible boundaries.
BorderStyleBorderStyleIndicates the border style for the control.
IsUpdatingboolGets a value indicating whether this XPanel is updating.
RowsXRowListGets the row list.
TextsTextStorageGets an instance of TextStorage object which holds all text resources used in QueryPanel

Events

NameTypeDescription
ActionActionEventHandlerOccurs when some action is performed
ElementPaintPaintEventHandlerOccurs when some XPanel element painting is performed
RowPaintPaintEventHandlerOccurs when some XPanel row painting is performed
ValidateValueValidateValueEventHandlerOccurs when user changes a value of some element with Korzh.EasyQuery.WinForms.XElement.NeedValidate property set to true. Allows to validate and accept or decline entered value.

Methods

NameTypeDescription
ApplyFormats()voidApplies the formats used in panel to all rows.
Arrange()voidArranges the rows.
BeginUpdate()voidBegins the update process.
CoreBeginUpdate()voidCan be overridden to do some special processing on update start.
CoreEndUpdate()voidCan be overridden to do some special processing on update finish.
CreateAppearance()XPanel.XViewOptionsVirtual method that creates Korzh.EasyQuery.WinForms.XPanel.XViewOptions object used in Korzh.EasyQuery.WinForms.XPanel.
CreateRowList()XRowListVirtual method that creates list of rows.
Dispose(bool disposing)voidClean up any resources being used.
DoAction(object sender, string actionName, object data)voidPerforms the action and/or raises Korzh.EasyQuery.WinForms.XPanel.Action event.
DoElementPaint(object sender, PaintEventArgs e)voidHandles Paint event of any element added into the panel.
DoListRequest(ListXElement element, string listName)voidVirtual method for filling the list of Korzh.EasyQuery.WinForms.ListXElement.
DoMoveRow(int idx, bool up)voidVirtual method for Ctrl+Arrow signal processing.
DoRowPaint(object sender, PaintEventArgs e)voidHandles Paint event of any row added into the panel.
DoSignal(object sender, Signals signalID, String[] paramList)voidProcesses the internal signal.
EndUpdate()voidEnds the update process.
IsInputKey(Keys keyData)boolDetermines whether the specified key is a regular input key or a special key that requires preprocessing.
MoveRowDown(int index)voidMoves the row to one position down (taking into account the level of other rows).
MoveRowUp(int index)voidMoves the row to one position up (taking into account the level of other rows).
OnBackColorChanged(EventArgs e)voidOverrides System.Windows.Forms.Control.OnBackColorChanged(System.EventArgs).
OnClick(EventArgs e)voidOverrides System.Windows.Forms.Control.OnClick(System.EventArgs).
OnEnabledChanged(EventArgs e)voidRaises the System.Windows.Forms.Control.EnabledChanged event.
OnFontChanged(EventArgs e)voidOverrides System.Windows.Forms.Control.OnFontChanged(System.EventArgs).
OnForeColorChanged(EventArgs e)voidOverrides System.Windows.Forms.Control.OnForeColorChanged(System.EventArgs).
OnGotFocus(EventArgs e)voidOverrides System.Windows.Forms.Control.OnGotFocus(System.EventArgs).
OnKeyDown(KeyEventArgs e)voidOverrides System.Windows.Forms.Control.OnKeyDown(System.Windows.Forms.KeyEventArgs).
OnLostFocus(EventArgs e)voidOverrides System.Windows.Forms.Control.OnLostFocus(System.EventArgs).
OnRowAdded(XRow row)voidVirtual method that is called when the row is added.
OnRowListChanged()voidVirtual method that is called when the list of rows is changed.
OnSizeChanged(EventArgs e)voidOverrides System.Windows.Forms.Control.OnSizeChanged(System.EventArgs).
OnValidateValue(ValidateValueEventArgs e)voidRaises the ValidateValue event.
PlaceRow(XRow row)voidInsert row into the list of Korzh.EasyQuery.WinForms.XPanel controls.
Refresh()voidForces the control to invalidate its client area and immediately redraw itself and any child controls. Overrides System.Windows.Forms.Control.Refresh.
RefreshList(string listName)voidRefreshes the list with specified name in all elements of all rows
SetRowsWidth(int width)voidSets the width of the rows.
ShiftRowLevel(int rowIndex, bool up)voidShifts the row level.

Static Properties

NameTypeDescription
DefaultBackColorColorGets the default background color of the control.