Ribbon Button tooltip shows two tooltips when VariantSize="Small"

Ribbon for WPF Forum

Posted 6 years ago by Clint David
Version: 14.2.0610
Platform: .NET 4.5
Environment: Windows 7 (64-bit)
Avatar

I put a ribbon button inside a Windows Toolbar like below

<ToolBar DockPanel.Dock="Top">
<ribbon:Button Label="Save" VariantSize="Small" ToolTip="This should only be the Tooltip">
<ribbon:Button.ImageSourceSmall>
<BitmapImage UriSource=".\Resources\Images\16\Save_16x16.png" />
</ribbon:Button.ImageSourceSmall>
</ribbon:Button>

</ToolBar>

If you hover it, after around 1-2sec, you will see two tooltips on top of one another. One is the assigned Tooltip and the other is the Label value.

Comments (2)

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

Hi Clint,

Ribbon buttons are all made to work with screen tips.  You shouldn't use the ToolTip property with ribbon controls.  Instead, you should use the various ScreenTip* properties on ribbon controls.

If you are just making a standard ToolBar though, I would recommend using regular buttons.  If you use our Themes product and have native control theming active, they will render similar to ribbon buttons.


Actipro Software Support

Posted 6 years ago by Clint David
Avatar

Thanks!

The latest build of this product (v2019.1 build 0685) was released 13 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.