Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How i can create a Main Window in WPF so that all other windows WPF form can open inside that part of main form.
what i mean is lets take a example of Windows Media Player when we click Menu's like Playlist, Music, Video the center part of window gets changed/Open in that same WPF window without opening a new window in that
how this can be achieved in XAML/C#, please give me some resources so that i can understand how i can do this...
Posted
Comments
[no name] 13-Sep-14 7:47am    
It's called a "user control"

1 solution

Bad idea. You need to put some other UI elements inside a window, and some can resemble a window and play the same role you envisioned for a window. You can even have the dockable interface similar to one of Visual Studio:
https://avalondock.codeplex.com[^].

One very simple and near alternative would be using TabControl:
http://msdn.microsoft.com/en-us/library/system.windows.controls.tabcontrol%28v=vs.110%29.aspx[^].

There can be many other different designs with similar functionality.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900