SelectingItemsControl.

MoveSelection(NavigationDirection, bool) Method

Summary

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

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.