[]
        
(Showing Draft Content)

C1.Win.Input.Base.Views.InputTextBoxElementBase-1

InputTextBoxElementBase<T> Class

The base Element that hosts a TextEditorBase control.

Inheritance
InputTextBoxElementBase<T>
Namespace: C1.Win.Input.Base.Views
Assembly: C1.Win.Input.8.dll
Syntax
public abstract class InputTextBoxElementBase<T> : TextBoxElement, ISupportUia, IControlHostElement where T : IInputEditorViewBase
Type Parameters
Name Description
T

Constructors

Name Description
InputTextBoxElementBase(T)

Initializes a new instance of the InputTextBoxElementBase class.

Properties

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.

Methods

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.