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
FromVisualElementThe element to move from, instead of the focused one. Read by FocusNext(FocusManagerOptions?) and FocusPrevious(FocusManagerOptions?) only.
TabbableboolOnly elements with a non-negative
tabIndex, rather than every focusable one.WrapboolPast the scope's last element, continue from its first (and the reverse). Read by FocusNext(FocusManagerOptions?) and FocusPrevious(FocusManagerOptions?) only.
AcceptFunc<VisualElement, bool>Only elements this returns true for.