1
= .NET Framework 4.0
= Visual C#
I have a problem with Labels, when I assign a value to the property text
and this value is very large, it "breaks" its container, going beyond the edges, with this, the part that is outside the limits is not possible to be seen. What I’m looking for is a solution to this, break the text automatically (from space, do not break the word) when it reaches 5 pixels from the right edge, however, I have no idea how to do it.
I’ve thought about disabling the property AutoSize
, but it is not feasible, because the height of the text is also limited.