Using Custom Theme and could not find Ribbon Button Label Foreground color change.

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 9 years ago by sravanthi
Version: 13.2.0591

Hi I am using my custom theme and i had a xaml file for it. I have to change the foreground color of Ribbon:Button label and could not find any option to mchange it. pls help.

                Label="{Binding Title}"
                ImageSourceLarge="{Binding ImagePath}"
                Command="{Binding ElementName=PerformanceGroup, Path=DataContext.SelectedCommand}"     
                Visibility="{Binding Visibility}"
                IsEnabled="{Binding IsEnabled}"
                ToolTip="{Binding Title}">

 Above is my code.

Comments (1)

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


You could either set the Foreground property on the ribbon:Button, or put a Brush override in your app's Resources with this key:

{DynamicResource {x:Static themes:AssetResourceKeys.ToolBarButtonForegroundNormalBrushKey}}

That is the brush resource used by default in the Foreground.

Actipro Software Support

The latest build of this product (v22.1.4) was released 17 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.