Hi,
How can I make the UltraFormattedLinkLabel control show ellipsis like the UltraLabel control does for text that is too long to fit in the control?
Thanks,
Scott
Hello Scott,
To set UltraFormatedLinkLabel control show ellipsis like the UltraLabel control you need to set TextTrimming property to EllipsisCharacter, EllipsisCharacterWithLineLimit, EllipsisPath, EllipsisPathWithLineLimit, EllipsisWord or EllipsisWordWithLineLimit. More about Infragistics TextTrimming Enumeration you can find by following next link http://help.infragistics.com/Doc/WinForms/current/CLR4.0/?page=WinTree_Understanding_WinTree.html
Please check attached sample solution and let me know if this is what you are looking for or if I am missing something.
Doh!
Thanks. I wasn't looking under the Appearances property :-/
Just to clarify a little, this isn't exactly the same as AutoEllipsis in the Label, as it will show an ellipsis when the text does not fit, but it will not automatically provide a tooltip. You could provide your own tooltip, but it would be trickky to determine whether or not all of the text is visible.
I recommend that you Submit a Feature Request for adding an AutoEllipsos property to the UltraFormattedLinkLabel, and perhaps this can be added in the future.