With WPF, want to open a second window full screen not in the primary screen -



With WPF, want to open a second window full screen not in the primary screen -

with wpf, want open sec window total screen. problem when main window not in primary screen, sec window doesn't open in same screen main window. popups within primary screen. there anyway can open within same screen main window? thanks.

you should able setting startup location new window center on owner. gotcha doing don't window it's opened set owner automatically need yourself. doing window should open window2 instance total screen on same monitor:

window2 newwindow = new window2 { owner = this, windowstartuplocation = windowstartuplocation.centerowner, windowstate = windowstate.maximized }; newwindow.show();

wpf window screen

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -