.NET Framework Bookmark and Share   
 index > Windows Presentation Foundation (WPF) > RibbonSplitButton problem
 

RibbonSplitButton problem

hello,

i have an application that use a Ribbon Control in a RibbonWindow.
In this ribbon control i have one RibbonSplitButton that have more than 50 RibbonMenuItem.
The problem is some RibbonMenuItem do not appear in menu, because the menu don´t have a scroll or the scroll don´t work.

i don´t know what to do :(


thanks
sara
Sara M G Silva
I found the solution.

In Xaml i define the RibbonSplitButton, and in runtime i add to the fist item of RibbonSplitButton, a scrollViewer and inside the scrollViewer i add a RibbonHighlightingList that contains the list of ribbonMenuItem...

It's works.



Thanks
sara
Sara M G Silva
This should get you in the right direction:

<RibbonSplitButton>
   <ScrollViewer VerticalScrollBarVisibility="Visible">
      <RibbonMenuItem />
      <RibbonMenuItem />
      <RibbonMenuItem />
   </ScrollViewer>
</RibbonSplitButton>
Might need to be tweaked a little, I did that all freehand :)
Nick Teeter

RibbonSplitButton is a button, but is more than a button....
And this don´t work...

I cannot find any information in internet to help me....i'm trying to resolve this!
Sara M G Silva
Post up what code you have so far...
Nick Teeter
I found the solution.

In Xaml i define the RibbonSplitButton, and in runtime i add to the fist item of RibbonSplitButton, a scrollViewer and inside the scrollViewer i add a RibbonHighlightingList that contains the list of ribbonMenuItem...

It's works.



Thanks
sara
Sara M G Silva
I had a feeling that ScrollViewer would be where you needed to go!
Nick Teeter

You can use google to search for other answers

Custom Search

More Threads

• XAML wont load, XP profile issue
• user control animation
• Custom Text Box Past handling
• Where I can find the source code for wpf water ripple effect?
• Programmatic animation problems
• WPF Visifire Charts
• ListView ScrollViewer - Retain Header
• Cannot set value of Content property in Style
• Record or automate xbap
• Binding to an Expander