Table of Contents

Class RibbonButtonsTemplateSelector

Namespace
Innova.Prism.Library.Menus.Ribbon
Assembly
Innova.Prism.Library.dll

DataTemplateSelector for selecting the appropriate DataTemplate based on the type of menu item.

public class RibbonButtonsTemplateSelector : DataTemplateSelector
Inheritance
RibbonButtonsTemplateSelector

Properties

ButtonTemplate

Gets or sets the name of the DataTemplate for the button.

ElementNoButtonTemplate

Gets or sets the name of the DataTemplate for the element without a button.

ElementTemplate

Gets or sets the name of the DataTemplate for the element.

Methods

SelectTemplate(object, DependencyObject)

Selects the appropriate DataTemplate based on the type of menu item.