Application Button Background color

Ribbon for WPF Forum

Posted 7 years ago by olegmukutyuk
Version: 12.2.0572
Platform: .NET 4.5
Environment: Windows 8 (64-bit)
Avatar

Hi! How can i change Application Button Background color only for this button.I am using Metro Ligth Style.

<SolidColorBrush x:Key="{x:Static themes:RibbonCommonDictionary.ApplicationButtonOuterBackgroundNormalBrushKey}" Color="Red" />

not working.Can't find RibbonCommonDictionary in themes.Please help me

Comments (1)

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

Hello, per the upgrade notes for 2011.2, that class was removed and similar assets were put on the newer AssetResourceKeys class.  So you can reference them like this now:

{x:Static themes:AssetResourceKeys.ApplicationButtonBackgroundNormalBrushKey}


Actipro Software Support

The latest build of this product (v2019.1 build 0683) 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.