Show / Hide Table of Contents

    Class KeyboardService

    Keyboard service.

    Inheritance
    Object
    KeyboardService
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Forms9Patch
    Assembly: Forms9Patch.dll
    Syntax
    public static class KeyboardService

    Properties

    Height

    Gets the current height of the on-screen software keyboard

    Declaration
    public static double Height { get; }
    Property Value
    Type Description
    Double

    The height.

    IsHardwareKeyboardActive

    Gets a value indicating whether the hardware keyboard is active.

    Declaration
    public static bool IsHardwareKeyboardActive { get; }
    Property Value
    Type Description
    Boolean

    true if is hardware keyboard active; otherwise, false.

    LanguageRegion

    Gets the Keyboard's language-region.

    Declaration
    public static string LanguageRegion { get; }
    Property Value
    Type Description
    String

    The language region.

    Methods

    Activate()

    Activates the Keyboard Service (required to monitor software keyboard height)

    Declaration
    public static void Activate()

    Hide()

    Forces the device's on screen keyboard to be hidden

    Declaration
    public static void Hide()

    OnVisiblityChange(KeyboardVisibilityChange)

    Ons the visiblity change.

    Declaration
    public static void OnVisiblityChange(KeyboardVisibilityChange state)
    Parameters
    Type Name Description
    KeyboardVisibilityChange state

    State.

    Events

    HeightChanged

    Occurs when virtual keyboard height has changed.

    Declaration
    public static event EventHandler<double> HeightChanged
    Event Type
    Type Description
    EventHandler<Double>

    Hidden

    Occurs when hidden.

    Declaration
    public static event EventHandler Hidden
    Event Type
    Type Description
    EventHandler

    Shown

    Occurs when shown.

    Declaration
    public static event EventHandler Shown
    Event Type
    Type Description
    EventHandler
    Back to top Copyright © 2018 42nd Parallel