This is a migrated thread and some comments may be shown as answers.

Backstage scroll

2 Answers 78 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Daní
Top achievements
Rank 1
Daní asked on 02 Apr 2012, 12:22 PM
Hello,

Is there any way to disable scroll in Backstage items? I have a ListBox inside a backstage item and it appears a vertical scroll for whole content.

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Tina Stancheva
Telerik team
answered on 04 Apr 2012, 03:30 PM
Hello DanĂ­,

As the root element of the Backstage ControlTemplate is a ScrollViewer, the content of the backstage items is measured with infinity. And if your scenario requires you to use the ListBox ScrollViewers instead of the backstage menu scroll viewer, you can create a custom ControlTemplate for the RibbonBackstage and remove the ScrollViewer element. I attached a sample project demonstrating this approach. Please give it a try and let me know if it helps.

All the best,
Tina Stancheva
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Daní
Top achievements
Rank 1
answered on 05 Apr 2012, 08:20 AM
Thank you Tina, your solution is working great!
Tags
RibbonView and RibbonWindow
Asked by
Daní
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Daní
Top achievements
Rank 1
Share this question
or