Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to automatically generate Ribbon pages, groups and items based on a view model collection in the MVVM pattern

$
0
0

This example demonstrates how to generate pages, groups and items from a collection according to the MVVM pattern. To generate pages in the RibbonPageCategory, bind the PagesSource property to a collection. Use the PageTemplate property to specify a template for generated pages.

RibbonPage and RibbonPageGroup contain similar properties for generating groups and bar items:

- GroupsSource, GroupTemplate

- ItemLinksSource, ItemTemplate


Viewing all articles
Browse latest Browse all 7205

Trending Articles



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