Table of Contents

Constructor FocusManagerOptions

Namespace
Velvet
Assembly
Velvet.Docs.dll

FocusManagerOptions(VisualElement?, bool, bool, Func<VisualElement, bool>?)

Options for a FocusManager move, React Aria's FocusManagerOptions.

public FocusManagerOptions(VisualElement? From = null, bool Tabbable = false, bool Wrap = false, Func<VisualElement, bool>? Accept = null)

Parameters

From VisualElement

The element to move from, instead of the focused one. Read by FocusNext(FocusManagerOptions?) and FocusPrevious(FocusManagerOptions?) only.

Tabbable bool

Only elements with a non-negative tabIndex, rather than every focusable one.

Wrap bool

Past the scope's last element, continue from its first (and the reverse). Read by FocusNext(FocusManagerOptions?) and FocusPrevious(FocusManagerOptions?) only.

Accept Func<VisualElement, bool>

Only elements this returns true for.