c# - Opening a windows relative to its tab in WPF -
i've wpf application makes use of avalondock opening multiple tabs ...each tab represents function , has it's own controls .. single tab opened via menu.
sometimes need show window in current tab , use
mywindow w = new mywindow(); w.show(); //w.showdialog();
this opens popup(/modal) when switch tab (in case it's not modal) have window still open... need "force" window shown in it's tab.
i've tried setting owner of window when
var wnd = window.getwindow(docuentpane);
i got main window of app...
is possible want achieve in wpf? if yes how? in advance
Comments
Post a Comment