This currently applies to WPF, but I also need an answer for WinForms, if possible.
I created a user control containing a .NET label.
The problem is this: When the label is long enough, it skips the end of the user control size, which is not elegant and can erroneously make the user think that the line is ending.
What I want to do, but donβt know how:
Check where the label gets cut off from the size of the client, and then replace the last 3 characters from there with the three dots "...". (so that the user can know that the line does not end, etc.)
Any suggestions? (just in case: I don't mind making my own user control just for the shortcut). Thank.
source
share