I have a scenario where I want to use the autoheight feature on a label but want to prevent it from expanding beyond X height. Is this possible?

I have a scenario where I want to use the autoheight feature on a label but want to prevent it from expanding beyond X height. Is this possible?
I don't believe you can set a max height on an auto-height label, but you can do the following:
Make two labels, one auto-height (lblAutoHeight) the other normal (lblNormal). Make sure the widths and text properties (font, size, weight, etc.) are the same in both.
Set the height of lblNormal to: If(lblAutoHeight.Height > 500, 500, lblAutoHeight.Height). This assume 500 in the max height you want.
Now set the X of lblAutoHeight such that it is in the margin of the App (e.g. App.Width + 5) or make the visible property false (personally I avoid invisible controls as they are very problematic for maintenance/support).
This approach is a bit ugly, but I believe it will achieve what you want.