Removing the gradient at the bottom the the metro light theme

Ribbon for WPF Forum

Posted 11 years ago by David
Version: 13.1.0581
Avatar

At the bottom edge of the ribbon in the metro light theme, there's a small gradiant that gives the ribbon a drop shadow. How can I remove that? Thanks.

Comments (3)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello, unfortunately at this time it's built into the Ribbon's template.  What happens is that area is used to show a contextual tab group color (if one is selected) and otherwise falls back to showing the Ribbon's BorderBrush.  The 3-4px high area there has a gradient OpacityMask, which is why you see a subtle fade out of the border color.  You'd need to clone and update the Ribbon template to remove that fade.


Actipro Software Support

Posted 9 years ago by James Perry
Avatar

do you have the code for the template?

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Yes, if your company has licensed WPF Studio, they can download the default XAML styles/templates from their organization account page.  If you have an license for the individual Ribbon product instead, you can email our support address and we can send you the default XAML styles/templates for Ribbon.


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.