.NET Framework Bookmark and Share   
 index > Windows Presentation Foundation (WPF) > navigate between windows
 

navigate between windows

hi everyone,

i created more than one window in a wpf project and i need to know how to navigate from one to another.. is there something like response.direct or even setVisible

thank you

d_xflow

you can do something like this

Window2  win = new Window2();

win.show();

 or

<Hyperlink NavigateUri="Window2.xaml">

there is a section in sdk

ms-help://MS.MSSDK.1033/MS.NETFX30SDK.1033/wpf_conceptual/html/86ad2143-606a-4e34-bf7e-51a2594248b8.htm

lee d
Hey, I'm with her in the same project, thx a lot for the quick reply...


but actually I need to modify the question a little bit..

Firstly,
If i do that.. using window show and hide...is it correct for an application? I mean should I browse through windows or pages?

Meaning:
Should I have a main window, then browse through pages, or is the window thing ok? And if so, then should i copy properties each time?

Also, I found something relating to stacked windows? maybe that's it?

Really, thanks a lot...


Ger0LeNe

if you want winforms like application-> window, back and forward buttons(navigation) - page

lee d

You can use google to search for other answers

Custom Search

More Threads

• Path & Data
• how to paste png images in clipboard
• Blend and TFS
• Interface that will look like Windows Vista Control Panel
• How Can I make inheritance with the line class?
• DockPanel in Canvas Problem
• Binding controls to nested properties?
• Throw Mousedown/Mousemove event with Automation
• TabControl behaviour problem when using a single window instance
• Question in setting Styles in WPF