This question is locked. New answers and comments are not allowed.
I have a menu that has hundreds of submenus and I want to use the RadWrapPanel to display these submenus. This works fine by create a style to override the ItemsPanelTemplate. My problem is when the number of items exceeds my max width, I need a scroll bar. I tried to accomplish this using the style below. This is problematic b/c it appears to be applying the ScrollViewer to each menuitem and not to the ItemsPanel... I have tried to figure out how to get to the ControlTemplate of the ItemsPanel but to no avail. I also edited the style in Blend but I can't find anything for the ItemsPanel.
Any help would be greatly appreciated.
Troy
BTW - I am using the Q2 2010 version of the controls.
Any help would be greatly appreciated.
Troy
BTW - I am using the Q2 2010 version of the controls.
<Style TargetType="telerikNavigation:RadMenuItem">
<Setter Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<!-- set different MaxHeight to control the size of the menu -->
<telerik:RadWrapPanel Orientation="Vertical" MaxHeight="800" MaxWidth="800" />
</ItemsPanelTemplate>
</Setter.Value>
</Setter><Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<ScrollViewer>
<ItemsPresenter/>
</ScrollViewer>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>