How do I detect if a System.Windows.Forms.Label with AutoEllipsis is actually displaying ellipsis?
- by SchlaWiener
I have a Windows Forms Application where I display some client data in a Label.
I have set label.AutoEllipsis = true.
If the text is longer than the label, it looks like this:
Some Text
Some longe... // label.Text is actually "Some longer Text"
// Full text is displayed in a tooltip
which is what I want.
But now I want to know if the label makes use of the AutoEllipsis feature at runtime.
How do I achive that?