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
345
XamRibbonWindow Changes in 7.2
posted

So I upgraded today to use the release version of the XamRibbon, and noticed that my XAML will not compile as the XamRibbonWindow in the Infragistics3.WPF.Ribbon.v7.2 no longer has Ribbon and StatusBar properties.  Is there a migration that is necessary?

Thanks

KZ

  • 4850
    Verified Answer
    Offline posted

    Yes, in order to get the XamRibbon inside of a XamRibbonWindow to show up in the VS2008 designer we had to add a special content element named RibbonWindowConentHost and move the Ribbon and StatusBar properties onto it. Here is some sample xaml:

    <igRibbon:XamRibbonWindow x:Class="WpfApplication1.Window1"

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    Title="Window1" Height="300" Width="300" xmlns:igRibbon="http://infragistics.com/Ribbon">

    <igRibbon:RibbonWindowContentHost>

    <igRibbon:RibbonWindowContentHost.Ribbon>

    <igRibbon:XamRibbon/>

    </igRibbon:RibbonWindowContentHost.Ribbon>

    <Grid>

    <!-- Place window client area content here -->

    </Grid>

    <igRibbon:RibbonWindowContentHost.StatusBar>

    <StatusBar/>

    </igRibbon:RibbonWindowContentHost.StatusBar>

    </igRibbon:RibbonWindowContentHost>

    </igRibbon:XamRibbonWindow>