Eyeshot 11 WPF API Reference
WPF Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / SetFocus Method
Optional. The System.Windows.Input.KeyEventArgs to simulate the OnKeyDown event after the control getting the focus.

In This Topic
    SetFocus Method
    In This Topic
    Sets the focus to the control.
    Syntax
    'Declaration
     
    Public Function SetFocus( _
       Optional ByVal keyEventArgs As KeyEventArgs _
    ) As Boolean
    public bool SetFocus( 
       KeyEventArgs keyEventArgs
    )

    Parameters

    keyEventArgs
    Optional. The System.Windows.Input.KeyEventArgs to simulate the OnKeyDown event after the control getting the focus.
    Remarks
    When using System.Windows.Media.Renderer different from rendererType.Native, use this method to set the focus to the control.
    See Also