I am looking for a smooth method of managing toolbars (and menus) using mvvm in WPF.
Consider a tabbed user interface with heterogeneous content (such as Visual Studio). There the toolbars should be hidden or visible depending on the active tab. How do you create a view model for toolbars?
I would use a set of viewbar panels and attach a ToolbarTray to it, but afaik that failed.
Any recommendations are appreciated. Links to samples, best practice documents, etc. Welcome.
. , , , . ... , .
- ( Grid/Canvas/whatever) , . , 5 , , 5 UserControls, , , . , . Mediator, ViewModels . , , ... CAL, , .
ViewModel. . , .
... ? Stoll, , ...
Source: https://habr.com/ru/post/1739623/More articles:Query the same search table with multiple columns - sqlAny way to import all cases from one FogBugz account to another (both are hosted) - fogbugz-on-demandHow can I make the width of a dynamic page to a certain limit? - javascriptSaving variables in memory, C ++ - cSorting vector of custom objects - javaExport data to Excel file with multiple sheets in ASP.NET - c #ASP.NET MVC route passes with format {ID} - {Slug} - asp.netConcurrent WCF Calls Through a Shared Channel - cachingJQuery UI tab content pane height - jqueryВопрос оператора разрешения PHP - scopeAll Articles