Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Designing list of main functions on MainWindow

$
0
0

Hi,

I am creating my new WPF application based on famous Josh Smith's article/example using MVVM pattern.  But I am trying to amend as I go along rather than copying it. 

Currently I am designing the main list functions on a left pane of the mainWindow view (similar to Josh Smith's two functions listed under Control Panel on his left MainWindow).  However, I have created a tree view to do that.  As some functions are divided into categories etc.

I am not sure whether I should bind each HypeLink control in my tree view to a relevant source in MainWindowView class, and creating separate properties for it of type Command ?

Or can/should I use something like "HierarchicalDataTemplate" for the tree view's each item.  Presumably then this would be based on Josh Smith's example, but instead of use TreeView ?

Although the I can't make it work the second option yet.  Any help please or suggestions on this ?


Viewing all articles
Browse latest Browse all 18858

Trending Articles