Override ToolTip Style

Ribbon for WPF Forum

Posted 9 years ago by Stephen Price
Version: 10.1.0523
Avatar
I've got an implicite style that overrides all tooltips in my application like this:

<Style x:Key="{x:Type ToolTip}" TargetType="{x:Type ToolTip}">
    <Style.Setters>
        <Setter Property="ContentTemplateSelector" Value="{StaticResource ToolTipTemplateSelector}">
        </Setter>
    </Style.Setters>
</Style>
unfortunately it's not replacing the tooltip on a textbox, which on closer examination seems to be an ActivePro textbox. I've not been able to figure out how to specify a style that will override the tooltips on this textbox, or an ActivePro button.

Can anyone help? I'm sure its just a case of knowing what the TargetType needs to be but I've not been able to get it working.
Thanks,
Stephen

Comments (1)

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

The various ribbon controls all use the ScreenTip control to render their tooltips. You'd need to style that control as well for those.


Actipro Software Support

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