ClassKeyboardNavigation
Represents a keyboard navigation helper.
Definition
Namespace:Telerik.Windows.Controls.Primitives
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class KeyboardNavigation
Inheritance: objectKeyboardNavigation
Constructors
KeyboardNavigation(IListControl, Func<int, bool>)
Initializes a new instance of the KeyboardNavigation class.
Declaration
public KeyboardNavigation(IListControl control, Func<int, bool> isSelectableIndex)
Parameters
control
isSelectableIndex
Properties
IsSelectableIndex
Gets or sets whether the index is selectable.
Methods
GetNextSelectableIndex(int, int)
Gets the next index of an item which is selectable.
GetPreviousSelectableIndex(int, int)
Gets the previous index of an item which is selectable.
NavigateFirst(Key)
Navigates to the first item in the child collection.
Declaration
[SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "key")]
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public void NavigateFirst(Key key = 0)
Parameters
key
Key
NavigateLast(Key)
Navigates to the last item in the child collection.
Declaration
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public void NavigateLast(Key key = 0)
Parameters
key
Key
NavigateNext(int, int, Key)
Navigates to the next item in the child collection.
NavigatePrevious(int, int, Key)
Navigates to the next item in the child collection.
NavigateToIndex(int, Key)
Navigates to item using its index in the child collection.
Declaration
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public void NavigateToIndex(int index, Key key = 0)
Parameters
index
key
Key