[]
The base Element that hosts a TextEditorBase control.
public abstract class InputTextBoxElementBase<T> : TextBoxElement, ISupportUia, IControlHostElement where T : IInputEditorViewBase
Name | Description |
---|---|
T |
Name | Description |
---|---|
InputTextBoxElementBase(T) | Initializes a new instance of the InputTextBoxElementBase class. |
Name | Description |
---|---|
IsReadOnlyStyle | Returns the actual state ReadOnly of the embedded text box control to correctly define its style. |
Owner | Gets a owner of this element. |
PlaceHolderColor | Gets or sets the color of place holder text. |
ReadOnly | Gets or sets a value indicating whether text in the embedded text box is read-only. |
Name | Description |
---|---|
ApplyStyle() | Copies style attributes from the element to the hosted control. |
CreateTextBoxControl() | Creates the embedded text box control. |
GetElement() | Returns the Element of this content element. |
Layout(Graphics) | Lays out this element based on its style and contents. |
OnGotFocus(EventArgs) | Called by the host control when this Element receives the focus. |
OnLostFocus(EventArgs) | Called by the host control when this Element loses the focus. |
OnMouseLeave(EventArgs) | Called by the host control when the mouse leaves this Element. |
UpdateControlBounds() | Updates the hosted control bounds to match the element's bounds. |