This question is locked. New answers and comments are not allowed.
Hello,
I have a panel bar like this :
All is perfect except the text wrapping. The text is always on one line.
An idea to accomplish this ?
Cordially,
Stephane.
| <telerikNavigation:RadPanelBar DataContext="{Binding Menu}" ItemsSource="{Binding MenuItems}" SelectedItem="{Binding SelectedMenuItem, Mode=TwoWay}" ScrollViewer.HorizontalScrollBarVisibility="Disabled"> |
| <telerikNavigation:RadPanelBar.ItemTemplate> |
| <telerik:HierarchicalDataTemplate ItemsSource="{Binding Items}"> |
| <StackPanel Orientation="Horizontal" > |
| <Image Source="{Binding Image, Converter={StaticResource BitmapImageConverter}}" Margin="5 3 5 3" /> |
| <TextBlock Text="{Binding Text}" VerticalAlignment="Center" TextWrapping="Wrap" /> |
| </StackPanel> |
| </telerik:HierarchicalDataTemplate> |
| </telerikNavigation:RadPanelBar.ItemTemplate> |
| </telerikNavigation:RadPanelBar> |
All is perfect except the text wrapping. The text is always on one line.
An idea to accomplish this ?
Cordially,
Stephane.