using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.Touch.Keyboard; namespace Tango.PPC.Common.Helpers { public static class KeyboardHelper { public static void OpenKeyboard(KeyboardActionKeyMode action, TouchKeyboardMode mode = TouchKeyboardMode.AlphaNumeric) { KeyboardView.Keyboard.ActionKeyMode = action; KeyboardView.Keyboard.Mode = mode; KeyboardView.Default.IsOpened = true; } public static void CloseKeyboard() { KeyboardView.Default.IsOpened = false; } } }