Application Button Background color

Ribbon for WPF Forum

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

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 11 years ago by Actipro Software Support - Cleveland, OH, USA

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 (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.