SelectingItemsControlMoveSelection(NavigationDirection, Boolean, Boolean) Method
Moves the selection in the specified direction relative to the current selection.
Namespace: Avalonia.Controls.PrimitivesAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
protected bool MoveSelection(
NavigationDirection direction,
bool wrap = false,
bool rangeModifier = false
)
Protected Function MoveSelection (
direction As NavigationDirection,
Optional wrap As Boolean = false,
Optional rangeModifier As Boolean = false
) As Boolean
member MoveSelection :
direction : NavigationDirection *
?wrap : bool *
?rangeModifier : bool
(* Defaults:
let _wrap = defaultArg wrap false
let _rangeModifier = defaultArg rangeModifier false
*)
-> bool
- direction NavigationDirection
- The direction to move.
- wrap Boolean (Optional)
- Whether to wrap when the selection reaches the first or last item.
- rangeModifier Boolean (Optional)
- Whether the range modifier is enabled (i.e. shift key).
BooleanTrue if the selection was moved; otherwise false.