Interface ICustomAwareDeviceFocusAlgorithm

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    ICustomAwareDeviceFocusAlgorithm inherits from FocusManager.ICustomFocusAlgorithm ICustomAwareDeviceFocusAlgorithm 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.
    This interface calls GetNextFocusableView() with deviceName.

    public interface ICustomAwareDeviceFocusAlgorithm : FocusManager.ICustomFocusAlgorithm

    Methods

    View Source

    GetNextFocusableView(View, View, FocusDirection, string)

    Get the next focus actor.

    Declaration
    View GetNextFocusableView(View current, View proposed, View.FocusDirection direction, string deviceName)
    Parameters
    Type Name Description
    View current

    The current focus view.

    View proposed

    The proposed focus view

    View.FocusDirection direction

    The focus move direction

    string deviceName

    The name of device the key event originated from

    Returns
    Type Description
    View

    The next focus actor.

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX