Ribbon Content Host???

2 posts, 1 answers
  1. Patrick
    Patrick avatar
    2 posts
    Member since:
    Aug 2010

    Posted 04 Jun 2012 Link to this post

    I am trying to get my feet wet with Telerik's controls as we are poised to get the Premium Package.  I found a nice How To video here(Brian Lagunas) that is very applicable to my environment however I am struggling to use Telerik's controls as the video maker uses Infragistics.  The key sticking point is the below.

    <telerik:RadRibbonWindow x:Class="IgOutlook.Shell"
            Title="Shell" Height="300" Width="300" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
        <telerik:RadRibbonView Name="radRibbonView1" prism:RegionManager.RegionName="RibbonTabRegion">       
                <telerik:ApplicationMenu />
                <telerik:QuickAccessToolBar />
        <DockPanel LastChildFill="True">
                <telerik:RadOutlookBar DockPanel.Dock="Left" Width="200" prism:RegionManager.RegionName="OutlookBarGroupRegion" />
                <ContentControl prism:RegionManager.RegionName="ContentRegion" Margin="1,3,3,3" />

    In his video there is a control for "Ribbon Window Content Host" that doesn't seem to have a counterpart in Telerik.  The code above gives me a design time exception of "The Property Content is set more then once".

    Can anyone show me what I am doing wrong or missing?  This app is meant to be a proof of concept so I can justify to my boss purchasing this tool set.
  2. Answer
    Viktor Tsvetkov
    Viktor Tsvetkov avatar
    382 posts

    Posted 07 Jun 2012 Link to this post

    Hi Patrick,

    The RadRibbonWindow derives from Window so it is a ContentControl and can have a single element for it's content (as every other ConentControl and Window) so you should simply use some root panel to wrap all your other elements (i.e. you can use Grid).

    Kind regards,
    Viktor Tsvetkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top