Environment.SetFocus Method
Public Function SetFocus( _
Optional ByVal keyEventArgs As KeyEventArgs = null _
) As Boolean
This language is not supported or no code example is available.
Parameters
- keyEventArgs
- KeyEventArgs
Optional. The KeyEventArgs to simulate the OnKeyDown event after the control getting the focus.
Return Value
bool
When using Renderer different from rendererType.Native, use this method to set the focus to the control.