TreeView for WinForms | ComponentOne
C1.Framework Namespace / XView 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
     
    
    Public Overloads Function Focus( _
       ByVal e As Element _
    ) As Boolean
    public 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