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
1465
XamRibbon content not changing on tab selection
posted

I am using the xamRibbon in a wpf application version 2013.1. I dynamically great my tabs and show the relevant menu items on each tab when selected this works as expected. The problem I have is when the tab is selected the content does not change accordingly. I need to know if my assumption is correct that this is where this needs to go. see example below:

    <igRibbon:RibbonWindowContentHost>
        <igRibbon:RibbonWindowContentHost.Ribbon>
            <igRibbon:XamRibbon x:Name="xamRibbon" Theme="Metro" ApplicationMenuMode="Office2010"  prism:RegionManager.RegionName="RibbonTabRegion">
                <igRibbon:XamRibbon.Resources>
                    <SolidColorBrush x:Key="{x:Static igRibbon:RibbonBrushKeys.RibbonTabControlHeaderPanelBackgroundKey}"
                                 Color="AliceBlue"/>
                </igRibbon:XamRibbon.Resources>
                <igRibbon:XamRibbon.ApplicationMenu2010>
                    <igRibbon:ApplicationMenu2010 />
                </igRibbon:XamRibbon.ApplicationMenu2010>
                <igRibbon:XamRibbon.QuickAccessToolbar>
                    <igRibbon:QuickAccessToolbar Visibility="Hidden" />
                </igRibbon:XamRibbon.QuickAccessToolbar>
            </igRibbon:XamRibbon>

        </igRibbon:RibbonWindowContentHost.Ribbon>
        <igRibbon:RibbonWindowContentHost.Content>
            <DockPanel LastChildFill="True">
                <ContentControl Margin="1,3,3,3"  prism:RegionManager.RegionName="ContentRegion"/>
            </DockPanel>
        </igRibbon:RibbonWindowContentHost.Content>
    </igRibbon:RibbonWindowContentHost>