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

Create dynamic ribbon tabs (MVVM) with static application menu.

$
0
0

Hello, I'm building a main application wich loads extensions (dll) in a ViewModel. Each extension has a Ribbon Tabs collection / ObservableCollection<RibbonTab>.

<Ribbon x:Name="Ribbon" ItemsSource="{Binding Path=tabs}" VerticalAlignment="Top" DockPanel.Dock="Top"></Ribbon>

However, I need to insert a static application menu in the ribbon. I can't put the application menu in the ribbon tag because on ribbonTab binding the collection must be empty.

Any idea please ?

Thank you very much !


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>