Summary
Moves the selection in the specified direction relative to the current selection.
- Namespace
- Avalonia
.Controls .Primitives - Containing Type
- Selecting
Items Control
Syntax
protected bool MoveSelection(NavigationDirection direction, bool wrap)
Parameters
Name | Type | Description |
---|---|---|
direction | NavigationDirection | The direction to move. |
wrap | bool | Whether to wrap when the selection reaches the first or last item. |
Return Value
Type | Description |
---|---|
bool | True if the selection was moved; otherwise false. |