如何在代码中将 Textbox.Height 设置为“自动”?谢谢
最佳答案
我认为 Auto 是 Double.NaN
更新 -
In addition to acceptable Double values, this property can also be Double.NaN. This is how you specify auto sizing behavior in code.
来自 http://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.height.aspx
关于c# - Windows Phone 7 TextBox.Height = 代码中的自动?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5195037/