Class KeyboardNavigation
Represents a keyboard navigation helper.
Inheritance
System.Object
KeyboardNavigation
Assembly: Telerik.Windows.Controls.dll
Syntax
public class KeyboardNavigation : Object
Constructors
Declaration
public KeyboardNavigation(IListControl control, Func<int, bool> isSelectableIndex)
Parameters
IListControl
control
|
System.Func<System.Int32, System.Boolean>
isSelectableIndex
|
Properties
Gets or sets whether the index is selectable.
Declaration
public Func<int, bool> IsSelectableIndex { get; set; }
Property Value
System.Func<System.Int32, System.Boolean>
|
Methods
Gets the next index of an item which is selectable.
Declaration
public int GetNextSelectableIndex(int current, int skip = 1)
Parameters
System.Int32
current
|
System.Int32
skip
|
Returns
Gets the previous index of an item which is selectable.
Declaration
public int GetPreviousSelectableIndex(int current, int skip = 1)
Parameters
System.Int32
current
|
System.Int32
skip
|
Returns
Extension Methods