Documentwindow.Tooltip = "" shows tooltip

Ribbon for WPF Forum

Posted 13 years ago by Arthur Damen
Version: 10.2.0533
Platform: .NET 4.0
Environment: Windows 7 (32-bit)
Avatar
Specifying

Documentwindow.Tooltip = ""

shows a tooltip. I would expect that is does not show up.
Only specifying Nothing hides it.

[Modified at 12/30/2010 12:54 AM]

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Arthur,

That is correct. We are simply leveraging the built-in WPF tooltip support. The ToolTip is an object, so it can be a string or a Visual (for more complex tooltips). There is nothing built-in to WPF to make the distinction between an empty string and a non-empty one. The only way WPF knows not to display a tooltip is if Tooltip is null.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.