[]
public class TextBoxElement : ControlHostElement, ISupportUia, IControlHostElement
Name | Description |
---|---|
TextBoxElement() | Initializes a new instance of the TextBoxElement class. |
TextBoxElement(Style) | Initializes a new instance of the TextBoxElement class with specified style settings. |
TextBoxElement(Style, string) | Initializes a new instance of the TextBoxElement class with specified text and style settings. |
TextBoxElement(string) | Initializes a new instance of the TextBoxElement class with specified text. |
Name | Description |
---|---|
LineCount | Gets the number of lines in the text box control. |
Text | Gets or sets the current text. |
TextBox | Returns the reference to the hosted TextBox control. |
Name | Description |
---|---|
ApplyStyle() | Copies style attributes from the element to the hosted control. |
ApplyTextBoxStyle() | |
CreateTextBoxControl() | |
GetVisibleTextRect() | Gets visible text bounds. |
Layout(Graphics) | Lays out this element based on its style and contents. |
OnTextChanged(EventArgs) | Override to get text change notifications. |
UpdateAlignment() | Updates the alignment of the text box control to reflect the current Style. |