Input for WinForms | ComponentOne
C1.Win.Input.Base.Views Namespace / InputTextBoxElementBase<T> Class / Focus Method

In This Topic
    Focus Method (InputTextBoxElementBase<T>)
    In This Topic
    Sets the focus to the host control and to this C1.Framework.Element within the host control.
    Syntax
    'Declaration
     
    
    Public Function Focus() As Boolean
    public bool Focus()

    Return Value

    True if the focus was set successfully.
    See Also