Search Results for

    Show / Hide Table of Contents

    Class InputEvents

    The InputEvents class helps developers to handle the remote control events that are emitted from TV devices.

    Inheritance
    System.Object
    InputEvents
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Tizen.TV.UIControls.Forms
    Assembly: Tizen.TV.UIControls.Forms.dll
    Syntax
    public sealed class InputEvents

    Fields

    AccessKeyProperty

    Identifies the access key that is set to the object at run time.

    Declaration
    public static readonly BindableProperty AccessKeyProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    EventHandlersProperty

    Implements the attached property that is a collection of RemoteKeyHandlers.

    Declaration
    public static readonly BindableProperty EventHandlersProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Methods

    GetAccessKey(BindableObject)

    Returns the access key that is set to the view.

    Declaration
    public static RemoteControlKeyNames GetAccessKey(BindableObject view)
    Parameters
    Type Name Description
    Xamarin.Forms.BindableObject view

    The view to get the access key.

    Returns
    Type Description
    RemoteControlKeyNames

    Returns the remote contol key name.

    GetEventHandlers(BindableObject)

    Returns a collection of the RemoteKeyHandler for the specified view. Developers can add or remove RemoteKeyHandlers using this collection.

    Declaration
    public static IList<RemoteKeyHandler> GetEventHandlers(BindableObject view)
    Parameters
    Type Name Description
    Xamarin.Forms.BindableObject view

    The view to get a collection of the RemoteKeyHandlers.

    Returns
    Type Description
    System.Collections.Generic.IList<RemoteKeyHandler>

    Returns a collection of the RemoteKeyHandlers

    SetAccessKey(BindableObject, RemoteControlKeyNames)

    Sets the access key to the specified view. When the access key is pressed, the specified view will directly get the focus and also be clicked if it is the Button.

    Declaration
    public static void SetAccessKey(BindableObject view, RemoteControlKeyNames value)
    Parameters
    Type Name Description
    Xamarin.Forms.BindableObject view

    The view to be set.

    RemoteControlKeyNames value

    The remote control key name to be set to the view.

    In This Article
    Back to top Copyright © 2018-2019 Samsung
    Generated by DocFX