private void btnSignWord_Click(object sender, RoutedEventArgs e) { KinectTileButton button = (KinectTileButton)sender; if (signWordPage == null) { signWordPage = new SignWordPage((SystemStatusCollection)this.DataContext); } ((SystemStatusCollection)this.DataContext).CurrentSignWord = ((SignWord)button.DataContext); UIElementCollection children = ((Panel)this.Parent).Children; if (!children.Contains(signWordPage)) { children.Add(signWordPage); } }