Print Page | Close Window

Markup tooltips in CXTPMarkupView

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: MarkupLabel Control
Forum Description: Topics Related to Codejock MarkupLabel Control
URL: http://forum.codejock.com/forum_posts.asp?TID=19744
Printed Date: 28 April 2024 at 7:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Markup tooltips in CXTPMarkupView
Posted By: Fredrik
Subject: Markup tooltips in CXTPMarkupView
Date Posted: 11 May 2012 at 2:18pm
I’ve used the following code to create tooltips for items in markup. While this works, the tooltips are text-only, and doesn’t support newlines.

<Border>
<Border.ToolTip>
simple tooltip in one row
</Border.ToolTip>
<TextBlock>Hello world</TextBlock>
</Border>

Is there a way to extend the tooltips so that they support markup?

So that I could do something like the following (replace the simple line-break code with arbitrary markup to create a fancy formatted tooltip):

<Border>
<Border.ToolTip>
<TextBlock>
tooltip row 1<LineBreak/>
tooltip row 2
</TextBlock>
</Border.ToolTip>
<TextBlock>Hello world</TextBlock>
</Border>



-------------
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net