SelectingItemsControl.

MoveSelection(IControl?, NavigationDirection, bool) Method

Summary

Moves the selection in the specified direction relative to the specified container.

Syntax

protected bool MoveSelection(IControl? from, NavigationDirection direction, bool wrap)

Parameters

Name Type Description
from IControl? The container which serves as a starting point for the movement.
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.