//Update Keyboard Mode Default, Alfa, Numeric private void UpdateKeyboardMode() { switch (_activeKeyboardMode) { case KeyboardMode.Alfa: if (ParentDialog != null) { ParentDialog.WidthRequest -= _vboxNumPadRows.Allocation.Width + _spacing; } _vboxNumPadRows.HideAll(); break; case KeyboardMode.Numeric: if (ParentDialog != null) { ParentDialog.WidthRequest -= _vboxKeyboardRows.Allocation.Width + _spacing; } _vboxKeyboardRows.HideAll(); break; } //Hide Numeric KeyPad if in 800x600 //TODO:THEME if (_activeKeyboardMode.Equals(KeyboardMode.AlfaNumeric) && GlobalApp.ScreenSize.Width == 800 && GlobalApp.ScreenSize.Height == 600) { if (ParentDialog != null) { ParentDialog.WidthRequest -= _vboxNumPadRows.Allocation.Width + _spacing; } _vboxNumPadRows.HideAll(); } }