Activate() |
void |
Activates this element. |
ApplyFormats() |
void |
Applies the formats. This method is called from Korzh.EasyQuery.WinForms.XPanel object when all element parents are set |
Arrange(int bottomLine, int rowHeight) |
void |
Arranges the Korzh.EasyQuery.WinForms.XElement.ElementControl on base panel. |
CalcNewText(string newValue) |
string |
Gets the new text from edit control |
CalcNewValue() |
string |
Gets the new value from edit control |
CloseEdit(bool accept) |
void |
Closes the edit if element is in edit state. |
CoreGetTextAdjustedByValue(string newValue) |
string |
Gets the element's text according to its value. This method can be overridden in inherited classes. |
CoreLaunch() |
void |
Is called when both Korzh.EasyQuery.WinForms.XElement.ParentRow and Korzh.EasyQuery.WinForms.XElement.ParentPanel for this element are established. |
CoreSetContent(string value, string text) |
void |
Sets the content of element (both its value and text). Can be overridden in inherited classes. |
CreateElementControl() |
Control |
Creates the Korzh.EasyQuery.WinForms.XElement.ElementControl. |
Detach() |
void |
Zeros some references to let element be destroyed. |
Dispose() |
void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Dispose(bool disposing) |
void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
DropDown() |
void |
Shows an additional control (Edit, Menu, etc) to change element's value |
ElementControlClickHandler(object sender, EventArgs e) |
void |
Called when user clicks on element control. |
ElementControlFontChangedHandler(object sender, EventArgs e) |
void |
Called when element control font is changed. |
ElementControlGotFocusHandler(object sender, EventArgs e) |
void |
Called when element control got focus. |
ElementControlLostFocusHandler(object sender, EventArgs e) |
void |
Called when element control lost focus. |
ElementControlSizeChangedHandler(object sender, EventArgs e) |
void |
Called when element control size is changed. |
Focus() |
bool |
Sets input focus to the element. |
GetTextAdjustedByValue(string newValue) |
string |
Gets the element's text according to its value. This method calls Korzh.EasyQuery.WinForms.XElement.CoreGetTextAdjustedByValue(System.String) method of the current object and then pass processing to the parent row. |
HideControl() |
void |
Hides the control that allows to edit the value. |
Invalidate() |
void |
Invalidates the element. |
OnAltClick(EventArgs e) |
void |
Raises the Korzh.EasyQuery.WinForms.XElement.AltClick event. |
OnBeforeDropDown() |
void |
Calls ElementBeforeDropDown method of the parent row. |
OnContentChanged(bool valueChanged, bool textChanged) |
void |
Called when element's content (text, value or both) is changed. |
OnValidate(ValidateValueEventArgs e) |
void |
Is called before element is rolled up. |
ParseXmlNode(XmlNode node) |
void |
Abstract method to be overridden by descendants. Parses the XML-description of element. |
ReAdjustTextByValue() |
void |
Make Korzh.EasyQuery.WinForms.XElement.Text property empty and call Korzh.EasyQuery.WinForms.XElement.AdjustTextByValue method |
RollUp(bool accept) |
void |
Brings element to initial state - hides any specific controls (Edit, Menu etc.) activated by user. |
Select() |
void |
Activates the element. |
SetContent(string value, string text) |
void |
Sets the content of element (both its value and text). |
SetContentSilent(string value, string text) |
void |
Sets the content of element silently (without nofifying parent row). |
SetText(string newText) |
void |
Sets the text of element. |
SetValue(string newValue) |
bool |
Function to set the value. Can be overridden if needed. Is called from Value property "set" part. |
ShowControl() |
void |
Shows the control that allows to edit the value. |