Scrollbar in RibbonDropDownButton Menu?

Nov 3, 2009 at 12:34 PM

I am using RibbonControlsLibrary.dll and can't get Scrollbar in RibbonDropDownButton Menu.
Does somebody know how to get it?

I've only managed to integrate WrapPanel into the menu this way:

 

<r:RibbonDropDownButton>

 

<r:RibbonDropDownButton.ItemsPanel>

 

<ItemsPanelTemplate>

 

<WrapPanel Width="auto" Height="auto" Orientation="Vertical"></WrapPanel>

 

</ItemsPanelTemplate>

 

</r:RibbonDropDownButton.ItemsPanel>

 

</r:RibbonDropDownButton>

But there are a lot of items in my menu and I still need to have a scrollbar in it.