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 ?