Skip to content

UIDropdown.NavigateItem(int) Method

Definition

Namespace: Brine2D.UI

Moves the keyboard cursor by direction steps \(\+1 = down, \-1 = up\) within the expanded list. If the list is not open, opens it first. Called by UICanvas when Up/Down arrow keys are pressed while the dropdown is focused.

C#
internal void NavigateItem(int direction);

Parameters

direction System.Int32