DevExpress-Examples / wpf-ribbon-generate-pages-groups-and-items-from-viewmodel-collection

Generate ribbon pages (RibbonPage), groups (RibbonPageGroup), and items (BarButtonItem) from a View Model collection.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WPF Ribbon - Generate Pages, Groups, and Items from a ViewModel Collection

This example generates ribbon pages (RibbonPage), groups (RibbonPageGroup), and items (BarButtonItem) from a View Model collection:

image

To generate pages in the RibbonPageCategory, bind the RibbonPageCategoryBase.PagesSource property to a collection. Use the RibbonPageCategoryBase.PageTemplate property to specify a template for generated pages.

The RibbonPage and RibbonPageGroup contain similar properties that allow you to generate groups and bar items:

Files to Review

Documentation

More Examples

About

Generate ribbon pages (RibbonPage), groups (RibbonPageGroup), and items (BarButtonItem) from a View Model collection.

License:Other


Languages

Language:Visual Basic .NET 52.4%Language:C# 47.6%