I am creating a lightswitch silverlight shell, and its coming on well.I managed to use your radRibbon control and its perfect!However, I cannot get the outlookbar working as required.
As you can see, am using radribbon on top and radoutlookbar on the left. My problem is binding the radoutlookbar to the viewmodel. My code (xaml) is here for the outlook bar portion:
<telerik:RadOutlookBar x:Name="ScreenTree" Grid.Column="0" Grid.Row="1" Grid.RowSpan="2"
ShellHelpers:ComponentViewModelService.ViewModelName="Default.NavigationViewModel"
ItemsSource="{Binding NavigationItems}">
<telerik:RadOutlookBar.ContentTemplate>
<DataTemplate>
<telerik:RadTreeView ItemsSource="{Binding ElementName=ScreenTree, Path=ItemsSource}">
<telerik:RadTreeView.ItemTemplate>
<windows:HierarchicalDataTemplate ItemsSource="{Binding Children}">
<TextBlock Style="{StaticResource TextBlockFontsStyle}"
Text="{Binding DisplayName}"
Foreground="{StaticResource NormalFontBrush}"
MouseLeftButtonDown="NavigationItemLeftButtonDown" />
</windows:HierarchicalDataTemplate>
</telerik:RadTreeView.ItemTemplate>
</telerik:RadTreeView>
</DataTemplate>
</telerik:RadOutlookBar.ContentTemplate>
<telerik:RadOutlookBar.TitleTemplate>
<DataTemplate>
<TextBlock Text="{Binding DisplayName}"/>
</DataTemplate>
</telerik:RadOutlookBar.TitleTemplate>
<telerik:RadOutlookBar.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding DisplayName}"/>
</DataTemplate>
</telerik:RadOutlookBar.ItemTemplate>
</telerik:RadOutlookBar>
The radoutlook bar is displaying the items, but the sub menus cannot appear. Am using the shell in a lightswitch app that has cascaded menus that i want them appear inside the tree view.
As you can see, am using radribbon on top and radoutlookbar on the left. My problem is binding the radoutlookbar to the viewmodel. My code (xaml) is here for the outlook bar portion:
<telerik:RadOutlookBar x:Name="ScreenTree" Grid.Column="0" Grid.Row="1" Grid.RowSpan="2"
ShellHelpers:ComponentViewModelService.ViewModelName="Default.NavigationViewModel"
ItemsSource="{Binding NavigationItems}">
<telerik:RadOutlookBar.ContentTemplate>
<DataTemplate>
<telerik:RadTreeView ItemsSource="{Binding ElementName=ScreenTree, Path=ItemsSource}">
<telerik:RadTreeView.ItemTemplate>
<windows:HierarchicalDataTemplate ItemsSource="{Binding Children}">
<TextBlock Style="{StaticResource TextBlockFontsStyle}"
Text="{Binding DisplayName}"
Foreground="{StaticResource NormalFontBrush}"
MouseLeftButtonDown="NavigationItemLeftButtonDown" />
</windows:HierarchicalDataTemplate>
</telerik:RadTreeView.ItemTemplate>
</telerik:RadTreeView>
</DataTemplate>
</telerik:RadOutlookBar.ContentTemplate>
<telerik:RadOutlookBar.TitleTemplate>
<DataTemplate>
<TextBlock Text="{Binding DisplayName}"/>
</DataTemplate>
</telerik:RadOutlookBar.TitleTemplate>
<telerik:RadOutlookBar.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding DisplayName}"/>
</DataTemplate>
</telerik:RadOutlookBar.ItemTemplate>
</telerik:RadOutlookBar>
The radoutlook bar is displaying the items, but the sub menus cannot appear. Am using the shell in a lightswitch app that has cascaded menus that i want them appear inside the tree view.