Last Updated: 19 Sep 2016 07:25 by ADMIN
Make expand animation to be horizontal when Orientation is Horizontal.

DECLINED: Cannot reproduce with R3 2016 binaries.
Last Updated: 26 Aug 2016 09:18 by ADMIN
Created by: Telerik Admin
Comments: 2
Category: PanelBar
Type: Feature Request
Add an Icon property to allow displaying images in the RadPanelBarItem Header.


Adding such property requires also adding a visual element (Image) in the Template of the RadPanelBarItems.
RadTreeView also has Image in its ControlTemplate and we have to admit this was our design mistake in the past. Such element makes the Style larger, makes the virtualization harder to support, slows down the performance.

How To Add Image in RadPanelBar:

In non-databound scenarios just add the Image in the Header:

                        <Image Source="MyImage.png" Margin="5"/>
                        <TextBlock Text="{Binding Name}" />

In databound scenario set the ItemTemplate of the RadPanelBar:

DataTemplate x:Key="itemTemplate">
                    <Image Source="MyImage.png" Margin="5"/>
                    <TextBlock Text="{Binding Name}" />

 <telerik:RadPanelBar ItemTemplate="{StaticResource itemTemplate}"/>

See the SDK example demonstrating those approaches:

Last Updated: 07 Oct 2016 10:59 by ADMIN
Items to automatically adjust position when PanelBar has no scrollbar. See attached project.

DECLINED: AdjustPositionOfPanelBarItemsNoScrollBar SDK sample demonstrates an approach to customizing the RadPanelBarItems to include a ScrollBar when the RadPanelBar's vertical ScrollBar is Disabled.