Hi,
Is it possible to inject multiple RadRibbonTabs contained in a single View, where the region is a RadRibbonView?
All the examples that I have checked out have had a single RadRibbonTab being injected from each view. Whereas what I want is to be able to inject multiple tabs from a single view.
What I tried to do(and it didn't work):
<UserControl x:Class="Module1.Views.Module1View"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<telerik:RadRibbonTab x:Name="tab1" Header="Tab 1">
</telerik:RadRibbonTab>
<telerik:RadRibbonTab x:Name="tab2" Grid.Column="1" Header="Tab 2">
</telerik:RadRibbonTab>
</Grid>
</UserControl>
I tried to inject this view into the RadRibbonBar region - 'RibbonRegion':
<telerik:RadRibbonView regions:RegionManager.RegionName="RibbonRegion"/>
But resultant effect is not what is required. The attached file 'screen1.png' shows the result of the above code.
I had also tried to inject a control of type RibbonTabStripPanel containing more than one RadRibbonTab, but still the result was that the RibbonTabStripPanel was being added to a RadRibbonTab which is automatically generated.
Is it possible to inject multiple RadRibbonTabs contained in a single View, where the region is a RadRibbonView?
All the examples that I have checked out have had a single RadRibbonTab being injected from each view. Whereas what I want is to be able to inject multiple tabs from a single view.
What I tried to do(and it didn't work):
<UserControl x:Class="Module1.Views.Module1View"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<telerik:RadRibbonTab x:Name="tab1" Header="Tab 1">
</telerik:RadRibbonTab>
<telerik:RadRibbonTab x:Name="tab2" Grid.Column="1" Header="Tab 2">
</telerik:RadRibbonTab>
</Grid>
</UserControl>
I tried to inject this view into the RadRibbonBar region - 'RibbonRegion':
<telerik:RadRibbonView regions:RegionManager.RegionName="RibbonRegion"/>
But resultant effect is not what is required. The attached file 'screen1.png' shows the result of the above code.
I had also tried to inject a control of type RibbonTabStripPanel containing more than one RadRibbonTab, but still the result was that the RibbonTabStripPanel was being added to a RadRibbonTab which is automatically generated.