

Write code handles moving and resizing and all the other edge cases you will find and stick with popup. or anything other than where it appears on your monitor.Īs you move a window around the popup knows nothing about that at all. I already had the code for center placement of pop up but pop up is not remaining sticked to the right pane.Ī popup won't stick with a window or control. I want the pop up to always stick in the center of right pane if am stretching the right pane or minimzing the word application, but the word is getting minimized and the pop up remains on the screen.Īnd this is the popup.xaml, having pop up design and the full pop design is in another xaml file.Īnd in the code behind,, I have private void OpenMoreButtonClickCommandBinding_Executed(object sender, ExecutedRoutedEventArgs e) See, I have a right hand pane in the word document, and in that pane on lick of open button, a pop up opens.
