Documentwindow.Tooltip = "" shows tooltip

Ribbon for WPF Forum

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

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 12 years ago by Actipro Software Support - Cleveland, OH, USA
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 (v22.1.3) was released 20 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.