How to change background and foreground of ribbon:Screentips

Ribbon for WPF Forum

Posted 1 month ago by UI-UX
Version: 24.1.1
Avatar

Hello, I am using ribbon:ScreenTipService (ScreenTipHeader, ScreenTipHelpUri, ScreenTipDescription)

1. Is there any way we can change the background color of this tooltip?

2. Also is there a way to change the Separator color that appears just above "Press F1 for more help" text ?

Thanks.

[Modified 1 month ago]

Comments (1)

Answer - Posted 1 month ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

The ribbon:ScreenTip class sets the Background to the AssetResourceKeys.ToolTipBackgroundNormalBrushKey theme brush, and the BorderBrush to the AssetResourceKeys.ToolTipBorderNormalBrushKey theme brush by default.  The separator uses the BorderBrush value.

You could make an implicit Style that targets ribbon:ScreenTip and put it in your Application.Resources with alternate brush values for the Background and BorderBrush properties if you'd like.


Actipro Software Support

The latest build of this product (v24.1.2) was released 4 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.