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

In This Topic
    Focus Method (TreePanel)
    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