Click or drag to resize
Ranorex

KeyboardPrepareFocus Method

Tries to set the focus to the specified element if necessary and also tries to make the element visible (if EnsureVisible is specified).

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static void PrepareFocus(
	Element focusTarget
)

Parameters

focusTarget
Type: Ranorex.CoreElement
The target element to set the focus to.
See Also