Spen D
Spen D

Reputation: 4345

General WPF Application

Am just creating myself a WPF application, like outlook. am having all forms seperately. I just want one main window and and am haivng navigation pane in left side. when ever i click items in pane, i just want to load corresponding form to the main window in right container. How i can do this?

Upvotes: 0

Views: 140

Answers (1)

Stephane
Stephane

Reputation: 1052

Use a design pattern like MVP or MVVM..

Also you probably want to use the Command pattern which will benefit the maintainability of your UI related commands.

Tutorials:

WPF Patterns

This tutorial should get you started with these patterns. Paul Stovell shows how to implement MVP and MVVM and displays strenghts and weaknesses of each pattern.

OutlookBar:

This link should get you started with the UI part of your challenge. It shows how to use such a control and implement the Command pattern.

HTH

Upvotes: 1

Related Questions