Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementContainerControl Class / Focus Method / Focus(Boolean) Method


In This Topic
    Focus(Boolean) Method
    In This Topic
    Moves the focus to the control.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub Focus( _
       ByVal giveFocus As Boolean _
    ) 
    'Usage
     
    
    Dim instance As ElementContainerControl
    Dim giveFocus As Boolean
     
    instance.Focus(giveFocus)
    public virtual void Focus( 
       bool giveFocus
    )

    Parameters

    giveFocus
    See Also