How can set the Textbox.Height to "auto" in Code? Thank you
I believe that Auto is Double.NaN
Update -
In addition to acceptable Double values, this property can also be Double.NaN. This is how you specify auto sizing behavior in code.
from http://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.height.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With