Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Truncate Ultralabel
posted

Sometimes the text in Ultralabel is too long and cannot bu fully shown, so I want to truncate it and show the full text on mouseover. It's easy to truncate it, but how to do the second part?

Thanks.

  • 200
    posted in reply to Matt Snyder

    Thanks.

  • 37774
    Suggested Answer
    posted

    The easiest solution would be to place an UltraToolTipManager on the form and assing the ToolTipText extender property that appears at design-time on the form.  You could also do this at run-time via the SetUltraToolTip method of the manager.  You could also show your own ToolTip on the MouseHover event of the label.

    -Matt