private void initAndSetKeyboard()
 {
     keyboard = new CustomKeyboard();
     controllerGrid.Children.Add(keyboard);
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.CustomKeyboard = ((WPFKeyboard.Keyboard.CustomKeyboard)(target));
     return;
     }
     this._contentLoaded = true;
 }