Property ConstrainToHeight | Terminal.Gui v2 (original) (raw)
Does not return the height of the formatted text but the height that will be used to constrain the text when formatted.
If null the height will be unconstrained. if both ConstrainToWidth and ConstrainToHeight are null the text will be formatted to the size of the text.
Use FormatAndGetSize(Size?) to get the size of the formatted text.
When set, NeedsFormat is set to true.