TreeView for WinForms | ComponentOne
C1.Framework Namespace / Element Class / Focus Method

In This Topic
    Focus Method (Element)
    In This Topic
    Sets the focus to the host control and to this 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