Interface FocusManager.ICustomFocusAlgorithm
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
ICustomFocusAlgorithm is used to provide the custom keyboard focus algorithm for retrieving the next focusable view.
The application can implement the interface and override the keyboard focus behavior.
If the focus is changing within a layout container, then the layout container is queried first to provide the next focusable view.
If this does not provide a valid view, then the Keyboard FocusManager will check focusable properties to determine the next focusable actor.
If focusable properties are not set, then the keyboard FocusManager calls the GetNextFocusableView() method of this interface.
C#Copypublic interface ICustomFocusAlgorithm
Methods
Declaration
C#CopyView GetNextFocusableView(View current, View proposed, View.FocusDirection direction)
Parameters
Type | Name | Description |
---|---|---|
View | current | The current focus view. |
View | proposed | The proposed focus view |
View.FocusDirection | direction | The focus move direction |
Returns
Type | Description |
---|---|
View | The next focus actor. |