MoveFocus(AccessibleNavigation, Boolean, Int32) Method

Definition

Assembly Broadside.Viewer.dll

Moves the focus to the next node matching a target (FindNext(AccessibleNode?, AccessibleNavigation, Boolean, Int32) from Focus).

public bool MoveFocus(AccessibleNavigation target, bool backward = false, int level = 0)

Parameters

target
AccessibleNavigation

What to find.

backward
Boolean

True to walk backwards.

level
Int32

For headings, the level to find; 0 for any.

Returns

Boolean
True when the focus moved; false at the end of the document.