or
RadPanelBar for Silverlight.UserControl.Resources and referred to it through ItemTemplate of RadPanelBar.BindingProperties.SelectedTemplate.Charts. I am unable to generate the content of the RadPanelBarItem. What ever I do I either get the content in the header of the item or will not get any content generated.BindingProperties.SelectedTemplate is an entity and Charts is a list of objects.<UserControl.Resources> <telerik:HierarchicalDataTemplate x:Key="ChartDetailView">
<StackPanel Orientation="Horizontal" Grid.ColumnSpan="2" > <Button Width="25" Height="25" Margin="10,0,0,0"> <Image Source="Resources/DeleteRed.png" HorizontalAlignment="Stretch" VerticalAlignment="Top" /> </Button> <Views:ChartConfigView VerticalAlignment="Top" Grid.ColumnSpan="2" /> </StackPanel> </telerik:HierarchicalDataTemplate> <telerik:HierarchicalDataTemplate x:Key="ChartView" ItemsSource="{Binding}" ItemTemplate="{StaticResource ChartDetailView}"> <TextBlock Text="{Binding Path=ChartTitle}" Margin="5 3" /> </telerik:HierarchicalDataTemplate> </UserControl.Resources><telerik:RadPanelBar telerik:StyleManager.Theme="Vista" ItemsSource="{Binding Path=BindingProperties.SelectedTemplate.Charts}" ItemTemplate="{ StaticResource ChartView}" ></telerik:RadPanelBar> <ControlTemplate x:Key="VacationSlotTemplate"> <Border Background="Black" Opacity="0.655" VerticalAlignment="Stretch"> <Border HorizontalAlignment="Left" Background="#FFDC1818"> <TextBlock Text="MD" Foreground="Azure" FontSize="12px" HorizontalAlignment="Center" TextAlignment="Center" Width="13" TextWrapping="Wrap" /> </Border> </Border> </ControlTemplate>