TreeView for WinForms | ComponentOne
C1.Framework Namespace / XViewLight Class / Focus Method / Focus(Element) Method
Element to receive the focus.

In This Topic
    Focus(Element) Method
    In This Topic
    Set the focus to a given element.
    Syntax
    'Declaration
     
    
    Protected Overloads Function Focus( _
       ByVal e As Element _
    ) As Boolean
    protected bool Focus( 
       Element e
    )

    Parameters

    e
    Element to receive the focus.

    Return Value

    True if the focus was set to the given element.
    See Also