We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to create a multiline ToolTipService.ToolTip text.

Thread ID:

Created:

Updated:

Platform:

Replies:

123492 Mar 22,2016 05:28 PM UTC Mar 24,2016 04:46 AM UTC UWP 3
loading
Tags: SfCarousel
Will Autio
Asked On March 22, 2016 05:28 PM UTC

Hello,
I would like to have the Tooltip display a two-line text. I tried it with \r\n (and similar combinations) but they came out as regular text. The text did spill over to a second line at some random spot after about 25 characters.
Thanks,
Will




Venkateshwaran Ramdoss [Syncfusion]
Replied On March 23, 2016 12:34 PM UTC

Hi Will,

We have prepared a sample based on your requirement. In this sample, we have added multiple line ToolTip for Carousel Item using LineBreak in TextBlock. Please download the sample from below attachment.

Please let us know if you need further assistance.

Regards,
Venkateshwaran V.R.

Attachment: Multilinetooltip_f5c3cd49.zip

Will Autio
Replied On March 23, 2016 03:54 PM UTC

Hi Venkateshwaran,

Thanks for the demo - it works great! and I appreciate the detail which you added to show a bit the complexity that can go into a simple ToolTip. 

This is what I ended up doing:

<ToolTipService.ToolTip>
    <TextBlock >The first line<LineBreak/>The second line</TextBlock>
</ToolTipService.ToolTip>

Thanks,

Will


Ashwini Paranthaman [Syncfusion]
Replied On March 24, 2016 04:46 AM UTC

Hi Will,
Thank you for the update.
We are glad that your issue has been fixed.
Please let us know if you need any other assistance.
Regards,
Ashwini P.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;