How to manage toolbars with mvvm and WPF
Posted
by Michael Stoll
on Stack Overflow
See other posts from Stack Overflow
or by Michael Stoll
Published on 2010-04-02T17:24:25Z
Indexed on
2010/04/03
12:23 UTC
Read the original article
Hit count: 260
I'm looking for a smooth method of managing toolbars (and menus) with mvvm in WPF.
Consider an UI with tabbed workspaces and heterogenous content (like Visual Studio). There the toolbars should be hidden or visible depending on the active tab. How would you design the view viewmodel for the toolbars?
I'd use a collection of toolbar-viewmodels and bind the ToolbarTray to it, but afaik that's not possible.
Any recommendations are apreciated. Links to samples, best practice papers, etc. are welcome.
© Stack Overflow or respective owner