public void InputMethodContextAutoEnableInputPanel()
        {
            tlog.Debug(tag, $"InputMethodContextAutoEnableInputPanel START");
            InputMethodContext a1 = new InputMethodContext();

            a1.AutoEnableInputPanel(true);
            a1.Dispose();

            tlog.Debug(tag, $"InputMethodContextAutoEnableInputPanel END (OK)");
            Assert.Pass("InputMethodContextAutoEnableInputPanel");
        }
        /// <summary>
        /// InputField initialisation.
        /// </summary>
        private void OnIntialize()
        {
            imf = new InputMethodContext();
            imf.AutoEnableInputPanel(true);
            isImfVisible = false;

            // Add a _text label to the window
            _textField = new TextField();
            PropertyMap map = new PropertyMap();

            map.Insert(Visual.Property.Type, new PropertyValue((int)Visual.Type.Image));
            map.Insert((int)ImageVisualProperty.URL, new PropertyValue(textFieldBG));
            _textField.Background             = map;
            _textField.FontFamily             = "Samsung One 400";
            _textField.PrimaryCursorColor     = new Color(0, 129, 198, 100);
            _textField.SecondaryCursorColor   = new Color(0, 129, 198, 100);
            _textField.CursorWidth            = 2;
            _textField.PlaceholderText        = "Input your Name";
            _textField.PlaceholderTextFocused = "Input your Name";
            _textField.ParentOrigin           = ParentOrigin.TopLeft;
            _textField.PivotPoint             = PivotPoint.TopLeft;
            _textField.Position            = new Position(30, 18, 0);
            _textField.Size2D              = new Size2D(1000, 80);
            _textField.HorizontalAlignment = HorizontalAlignment.Begin;
            _textField.VerticalAlignment   = VerticalAlignment.Center;
            _textField.PointSize           = DeviceCheck.PointSize10;
            //_textField.PointSize = 10.0f;
            _textField.Focusable    = true;
            _textField.FocusGained += OnFocusGained;
            _textField.FocusLost   += OnFocusLost;
            //_textField.KeyEvent += OnIMEKeyEvent;

            // Create TextField's BackgroundView.
            PropertyMap bgMap = new PropertyMap();

            bgMap.Insert(Visual.Property.Type, new PropertyValue((int)Visual.Type.Image));
            bgMap.Insert((int)ImageVisualProperty.URL, new PropertyValue(textFieldBG));
            bgView              = new View();
            bgView.Background   = bgMap;
            bgView.ParentOrigin = ParentOrigin.TopLeft;
            bgView.PivotPoint   = PivotPoint.TopLeft;
            bgView.Size2D       = new Size2D(1060, 116);
            bgView.Add(_textField);
        }