TextElement.Height property
A hard-fixed text box height in px (framework 2.30.0): the element reports exactly this as its min and preferred height, so it never grows (or shrinks) its row / column whatever its font’s line box measures, and the lines are drawn vertically centred in it (a one-line string sits in the middle of a two-line slot). Content taller than the box overflows it rather than resizing it, so pair it with MaxLines. First user: the launcher tile’s two-line name slot, which grew a tile 4–5 px when a name wrapped. 0 (the default) = the text’s own height, unchanged. Window (Menu) text only. An init property (binary-compatible).
public float Height { get; set; }See Also
Section titled “See Also”- record TextElement
- namespace Stellar.Abstractions.Services