Input for WinForms | ComponentOne
C1.Win.Input.Base.Views Namespace / InputTextBoxElement Class
Fields Properties Methods


In This Topic
    InputTextBoxElement Class Members
    In This Topic

    The following tables list the members exposed by InputTextBoxElement.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the InputTextBoxElement class.  
    Top
    Protected Fields
     NameDescription
    Protected FieldThe System.Drawing.Rectangle that defines the position of the C1.Framework.Element within its parent. (Inherited from C1.Framework.Element)
    Protected FieldAn C1.Framework.Element.ElementFlags value that defines the behavior of this C1.Framework.Element. (Inherited from C1.Framework.Element)
    Protected FieldThe parent C1.Framework.Element. (Inherited from C1.Framework.Element)
    Protected FieldThe C1.Framework.Element.Style object that defines the appearance of this C1.Framework.Element. (Inherited from C1.Framework.Element)
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the System.Boolean value specifying whether element height is automatically determined by its style and contents. (Inherited from C1.Framework.Element)
    Public PropertyGets the System.Boolean value specifying whether element size is automatically determined by its style and contents. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets the System.Boolean value specifying whether element width is automatically determined by its style and contents. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets the element's bounds (size and location) within its parent element, in pixels. (Inherited from C1.Framework.Element)
    Public PropertyGets a list of child elements. (Inherited from C1.Framework.Element)
    Public PropertyGets a value that indicates whether this C1.Framework.Element or one of its children has the focus. (Inherited from C1.Framework.Element)
    Public PropertyClient rectangle, in pixels. This discounts margins, borders, and padding. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets the C1.Framework.ControlHostElement.Control that this element is hosting. (Inherited from C1.Framework.ControlHostElement)
    Public PropertyGets or sets whether the element is enabled (can receive mouse and keyboard messages). (Inherited from C1.Framework.Element)
    Public PropertyGets or sets whether the element is focusable (receives keyboard messages). (Inherited from C1.Framework.Element)
    Public PropertyGets a value that indicates whether this C1.Framework.Element has the focus. (Inherited from C1.Framework.Element)
    Public PropertyGets a C1.Framework.Element.LineBreak value that determines whether there should be line breaks before and/or after this C1.Framework.Element when it occurs in a paragraph. (Inherited from C1.Framework.Element)
    Public PropertyGets a value that indicates the element has a non-empty C1.Framework.Element.Children collection. (Inherited from C1.Framework.Element)
    Public PropertyElement height. Set to -1 to let the element calculate it automatically. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets whether the element is hit-testable (receives mouse messages). (Inherited from C1.Framework.Element)
    Public PropertyGets the System.Windows.Forms.Control that is hosting this C1.Framework.Element. (Inherited from C1.Framework.Element)
    Public PropertyGets the C1.Framework.IView that is hosting this C1.Framework.Element. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets whether the value of RightToLeft property is inherited from the parent element. (Inherited from C1.Framework.Element)
    Public PropertyGets a value that indicates this element needs to be laid out. (Inherited from C1.Framework.Element)
    Public PropertyGets whether this element and all its ancestors are enabled. (Inherited from C1.Framework.Element)
    Public PropertyGets whether this element can currently receive the focus. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets whether the element should be displayed using the Style.Hot style. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets whether the element should be displayed using the Style.Pressed style. (Inherited from C1.Framework.Element)
    Public PropertyReturns the actual state InputTextBoxElementBase<T>.ReadOnly of the embedded text box control to correctly define its style. (Inherited from C1.Win.Input.Base.Views.InputTextBoxElementBase<ITextBoxBaseView>)
    Public PropertyGets whether this element and all its ancestors are visible. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets the horizontal position of the element within its parent. (Inherited from C1.Framework.Element)
    Public PropertyGets the portion of the element that renders below the baseline. Usually non-zero only for text elements, depends on font. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets the location of the element within its parent. (Inherited from C1.Framework.Element)
    Public PropertyGets a owner of this element. (Inherited from C1.Win.Input.Base.Views.InputTextBoxElementBase<ITextBoxBaseView>)
    Public PropertyGets the element's parent, or null if this is the root element. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets the color of place holder text. (Inherited from C1.Win.Input.Base.Views.InputTextBoxElementBase<ITextBoxBaseView>)
    Public PropertyGets or sets a value indicating whether text in the embedded text box is read-only. (Inherited from C1.Win.Input.Base.Views.InputTextBoxElementBase<ITextBoxBaseView>)
    Public PropertyGets the element's style, or a default style if the element doesn't have one. This never returns null. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets whether the element should be drawn using right-to-left layout. (Inherited from C1.Framework.Element)
    Public PropertyGets the element's top-level parent. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets whether the element should display a focus rectangle when it has focus. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets the size of the element. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets the Style object used to render this Element. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets the current text. (Inherited from C1.Framework.TextBoxElement)
    Public PropertyReturns the reference to the hosted C1.Framework.TextBoxElement.TextBox control. (Inherited from C1.Framework.TextBoxElement)
    Public PropertyGets or sets the vertical position of the element within its parent. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets a value indicating if the contents was successfully validated. (Inherited from C1.Framework.Element)
    Public PropertyGets or sets whether the element is visible. (Inherited from C1.Framework.Element)
    Public PropertyElement width. Set to -1 to let the element calculate it automatically. (Inherited from C1.Framework.Element)
    Top
    Protected Properties
     NameDescription
    Protected PropertyIf overriden in nested classes and returns not null, InputPanel will use the HostPanel to make C1.Framework.ControlHostElement.Control scrollable withing the element. (Inherited from C1.Framework.ControlHostElement)
    Protected PropertyGets the number of lines in the text box control. (Inherited from C1.Framework.TextBoxElement)
    Top
    Public Methods
     NameDescription
    Public MethodOverridden. Copies style attributes from the element to the hosted control.  
    Public MethodReturns a clone of this element. (Inherited from C1.Framework.Element)
    Public MethodSets the focus to the host control and to this C1.Framework.Element within the host control. (Inherited from C1.Framework.Element)
    Public MethodOverloaded. Gets the element's bounds (size and location) within an arbitrary ancestor, in pixels. Ancestor element (parent, grand-parent, etc). A System.Drawing.Rectangle that corresponds to the element's position within the given ancestor. (Inherited from C1.Framework.Element)
    Public MethodReturns the C1.Framework.Element of this content element. (Inherited from C1.Win.Input.Base.Views.InputTextBoxElementBase<ITextBoxBaseView>)
    Public Method (Inherited from C1.Framework.Element)
    Public MethodNavigates up the tree to find an ancestor of a given type. (Inherited from C1.Framework.Element)
    Public MethodNavigates up the tree to find an ancestor of a given type. (Inherited from C1.Framework.Element)
    Public MethodReturns the scroll origin (override to implement non-scrolling areas). (Inherited from C1.Framework.Element)
    Public MethodReturns the element at a given point. (Inherited from C1.Framework.Element)
    Public MethodOverloaded. Invalidates this C1.Framework.Element within the host control. (Inherited from C1.Framework.Element)
    Public MethodDetermines whether this element is a child of another element. (Inherited from C1.Framework.Element)
    Public MethodDetermines whether the specified key is a regular input key or a special key that requires preprocessing. (Inherited from C1.Framework.Element)
    Public MethodOverloaded. Lays out this element based on its style and contents. (Inherited from C1.Win.Input.Base.Views.InputTextBoxElementBase<ITextBoxBaseView>)
    Public MethodOverloaded. Provides the size, in pixels, of the specified content drawn on the specified System.Drawing.Graphics surface. (Inherited from C1.Framework.Element)
    Public MethodAdjusts the location of this element by the specified amount. (Inherited from C1.Framework.Element)
    Public MethodCalled by the host control when the user clicks this C1.Framework.Element. (Inherited from C1.Framework.Element)
    Public MethodCalled by the host control when the user double-clicks this C1.Framework.Element. (Inherited from C1.Framework.Element)
    Public MethodCalled by the host control when this C1.Framework.Element receives the focus. (Inherited from C1.Win.Input.Base.Views.InputTextBoxElementBase<ITextBoxBaseView>)
    Public MethodCalled by the host control when the user presses a key and this C1.Framework.Element has the focus. (Inherited from C1.Framework.Element)
    Public MethodCalled by the host control when the user presses a character key and this C1.Framework.Element has the focus. (Inherited from C1.Framework.Element)
    Public MethodCalled by the host control when the user releases a key and this C1.Framework.Element has the focus. (Inherited from C1.Framework.Element)
    Public MethodCalled by the host control when this C1.Framework.Element loses the focus. (Inherited from C1.Win.Input.Base.Views.InputTextBoxElementBase<ITextBoxBaseView>)
    Public MethodCalled by the host control when the user presses a mouse button over this C1.Framework.Element. (Inherited from C1.Framework.Element)
    Public MethodCalled by the host control when the mouse enters this C1.Framework.Element. (Inherited from C1.Framework.Element)
    Public MethodCalled by the host control when the mouse enters this C1.Framework.Element, even if another element has captured the mouse. (Inherited from C1.Framework.Element)
    Public MethodCalled by the host control when the mouse leaves this C1.Framework.Element. (Inherited from C1.Win.Input.Base.Views.InputTextBoxElementBase<ITextBoxBaseView>)
    Public MethodCalled by the host control when the mouse leaves this C1.Framework.Element, even if another element has captured the mouse. (Inherited from C1.Framework.Element)
    Public MethodCalled by the host control when the user releases the left mouse button over a disabled C1.Framework.Element. (Inherited from C1.Framework.Element)
    Public MethodCalled by the host control when the mouse moves over this C1.Framework.Element. (Inherited from C1.Framework.Element)
    Public MethodCalled by the host control when the user releases a mouse button over this C1.Framework.Element. (Inherited from C1.Framework.Element)
    Public MethodHandles MouseWheel events. (Inherited from C1.Framework.Element)
    Public MethodOverride to get text change notifications. (Inherited from C1.Framework.TextBoxElement)
    Public MethodCalled by the host control after the element has been validated. (Inherited from C1.Framework.Element)
    Public MethodCalled by the host control when the element is about to lose focus. (Inherited from C1.Framework.Element)
    Public MethodComputes the location of the specified screen point into client coordinates. (Inherited from C1.Framework.Element)
    Public MethodComputes the location of the specified client point into screen coordinates. (Inherited from C1.Framework.Element)
    Public MethodOverridden. Renders the element into a given rectangle.  
    Public MethodRenders the child elements into a given rectangle. (Inherited from C1.Framework.Element)
    Public MethodRender this element's content (no children). (Inherited from C1.Framework.Element)
    Public MethodOverloaded. Marks this element as dirty, forcing all parent and child elements to be laid out. (Inherited from C1.Framework.Element)
    Public MethodOverloaded.  (Inherited from C1.Framework.Element)
    Public MethodUpdates the hosted control bounds to match the element's bounds. (Inherited from C1.Win.Input.Base.Views.InputTextBoxElementBase<ITextBoxBaseView>)
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from C1.Framework.TextBoxElement)
    Protected MethodOverridden. Creates the embedded text box control.  
    Protected MethodFinalizes the user interface. This method is called when element is removed from UI. (Inherited from C1.Framework.Element)
    Protected MethodGets a System.Drawing.Drawing2D.GraphicsPath that covers only the borders (hollow, used to renders the borders). (Inherited from C1.Framework.Element)
    Protected MethodGets the DPI value for the display device where the C1.Framework.Element.HostControl is currently being displayed. (Inherited from C1.Framework.Element)
    Protected Method (Inherited from C1.Framework.Element)
    Protected MethodCalled by the host control when the state of this C1.Framework.Element changes. (Inherited from C1.Framework.Element)
    Protected MethodProvides constants for rescaling the C1.Framework.Element when a DPI change occurs. (Inherited from C1.Framework.Element)
    Protected MethodOverloaded. Scales the C1.Framework.Style instance uses the DeviceDpi value if this element has a C1.Framework.Element.HostControl. (Inherited from C1.Framework.Element)
    Protected MethodUpdates the alignment of the text box control to reflect the current C1.Framework.Style. (Inherited from C1.Framework.TextBoxElement)
    Protected Method (Inherited from C1.Framework.Element)
    Top
    See Also