How to Call a window form into a tabcontrol in wpf

Jul 18 2015 12:05 AM
hi everyone,
 
I am new to wpf , and have a little knowledge in C#.
I designed a form with some buttons on the left dock of dock panel, and the center part with a tabcontrol.
 
So when i click a button in the  left dock, i need to have a tab in the center dock, with controls I designed in other forms with exact positions.
 
For eg:
 
If I click the user button, I need the user.xaml form to be displayed in the tabcontrol.
If I click the customer button, I need the customers.xaml form to be displayed.
 
I have done it in C# but I have no idea in wpf.
 
Thank You

Answers (1)