Skip to main content

editxelement-class

The row element that lets edit value in System.Windows.Forms.TextBox control.

public class Korzh.EasyQuery.WinForms.EditXElement
: LabelXElement

Assembly: Korzh.EasyQuery.WinForms.dll

Constructors

NameTypeDescription
EditXElement(string type)voidInitializes a new instance of the Korzh.EasyQuery.WinForms.EditXElement class.
EditXElement()voidInitializes a new instance of the Korzh.EasyQuery.WinForms.EditXElement class.

Fields

NameTypeDescription
editControlTextBoxThe System.Windows.Forms.TextBox control that is used for value editing.

Properties

NameTypeDescription
MaxLengthlongGets or sets the maximum length of element's value.
MultilineboolGets or sets a value indicating whether the text of the edit control can span more than one line.

Methods

NameTypeDescription
Arrange(int bottomLine, int rowHeight)voidArranges the Korzh.EasyQuery.WinForms.LabelXElement.ElementControl on base panel. Overrides Korzh.EasyQuery.WinForms.LabelXElement.Arrange(System.Int32,System.Int32).
CalcNewText(string newValue)stringGets the new text from edit control
CalcNewValue()stringGets the new value from edit control
CoreGetTextAdjustedByValue(string newValue)stringGets the element's text according to its value. This method can be overridden in inherited classes.
EditKeyPressHandler(object sender, KeyPressEventArgs e)voidThe handler of Korzh.EasyQuery.WinForms.EditXElement.editControlSystem.Windows.Forms.Control.KeyPress event.
EditLostFocusHandler(object sender, EventArgs e)voidThe handler of Korzh.EasyQuery.WinForms.EditXElement.editControlSystem.Windows.Forms.Control.LostFocus event.
EditSizeChangedHandler(object sender, EventArgs e)voidThe handler of Korzh.EasyQuery.WinForms.EditXElement.editControlSystem.Windows.Forms.Control.SizeChanged event.
EditTextChangedHandler(object sender, EventArgs e)voidThe handler of Korzh.EasyQuery.WinForms.EditXElement.editControlSystem.Windows.Forms.Control.TextChanged event.
HideControl()voidHides the control that allows to edit the value.
LinkClickedHandler(object sender, LinkLabelLinkClickedEventArgs e)voidOverrides Korzh.EasyQuery.WinForms.LabelXElement.LinkClickedHandler(System.Object,System.Windows.Forms.LinkLabelLinkClickedEventArgs).
ParseXmlNode(XmlNode node)voidParses the XML-description of element.
ShowControl()voidShows the Korzh.EasyQuery.WinForms.EditXElement.editControl to let user edit data.

Static Properties

NameTypeDescription
TagNamestringGets the name of the XML tag concerned with element.