xtd 0.2.0
Loading...
Searching...
No Matches

◆ auto_ellipsis() [2/2]

virtual label & xtd::forms::label::auto_ellipsis ( bool  value)
virtual

Sets a value indicating whether the ellipsis character (...) appears at the right edge of the xtd::forms::label, denoting that the xtd::forms::label text extends beyond the specified length of the xtd::forms::label.

Parameters
valuetrue if the additional label text is to be indicated by an ellipsis; otherwise, false. The default is false.
Returns
Current label instance.
Remarks
Set xtd::forms::label::auto_ellipsis to true to display text that extends beyond the width of the xtd::forms::label in a tooltip when the user passes over the control with the mouse. If xtd::forms::label::auto_size is true, the label will grow to fit the text and an ellipsis will not appear.
Note
If the font is taller than the height of the xtd::forms::label and xtd::forms::label::auto_ellipsis is true, you must set xtd::forms::label::auto_size to false for text to be drawn.