Hey Perry,
It's Friday, so I've got a nice little hack for you. :)
The only thing I haven't figured out on this is how to get access to the RadPanelBarItem Header property... but I guess if you are replacing the content of it you really don't need that.
<telerikNavigation:RadPanelBar x:Name="RPB" |
<telerikNavigation:RadPanelBarItem Header="I have a custom content item, look!" > |
<telerikNavigation:RadPanelBarItem Header="Not sure how to access this"> |
<telerikNavigation:RadPanelBarItem.Template> |
<ControlTemplate> |
<StackPanel> |
<StackPanel Orientation="Horizontal"> |
<Button Content="Button" HorizontalAlignment="Left" Width="100" Margin="20 0 20 0" /> |
<TextBlock Text="Text" HorizontalAlignment="Right" Width="100" Margin="20 0 20 0" /> |
</StackPanel> |
<basics:Calendar x:Name="DisplayCalenda"></basics:Calendar> |
</StackPanel> |
</ControlTemplate> |
</telerikNavigation:RadPanelBarItem.Template> |
</telerikNavigation:RadPanelBarItem> |
</telerikNavigation:RadPanelBarItem> |
<telerikNavigation:RadPanelBarItem Header="Sweet!" /> |
</telerikNavigation:RadPanelBar> |
Basically, you're putting a RadPanelBarItem nested inside another (so you get that nice PanelBar effect), but then you simply replace the RadPanelBarItem.Template with a new ControlTemplate and you're set! I tested it with a StackPanel, but my guess is that a Grid or Canvas would work just as well.
One thing to be aware of, I can't for the life of me get more than one of these "hacked" RadPanelBarItems to display under a single heading, not that you'd really need that, but just an fyi. ;)