Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
Trying to bind items in a RibbonGroup
posted

With the code below, I am getting the following error:

"Style intended for type 'ButtonTool' cannot be applied to type 'ContentPresenter'.

Any hints?  Thank you.

<igRibbon:RibbonGroup Caption="..."

          DataContext="{Binding Path={x:Static vm:clsBaseGUIViewModel.MenuViewModelPath}}"
          ItemsSource="{Binding Path={x:Static vm:clsBaseGUIMenuViewModel.HelpTabFirstGroupItemsPath}}">
                                            <igRibbon:RibbonGroup.ItemContainerStyle>
                                                <Style TargetType="{x:Type igRibbon:MenuTool}">
                                                    <Setter Property="Caption" Value="{Binding Path={x:Static vm:clsMenuItemViewModel.DisplayNamePath}}" />
                                                </Style>
                                           </igRibbon:RibbonGroup.ItemContainerStyle>
                                        </igRibbon:RibbonGroup>

Parents
No Data
Reply Children
No Data