문제

I am new to Silverlight and I just wanted to ask why my ActualHeight was set to NaN? It has a width and height of 500, but when compiled, it gives an error that says that ActualHeight is equal to NaN. Is there some other way to do this? Any help would be appreciated. Thanks.

도움이 되었습니까?

해결책

NaN stands for "Not a Number".

1).When you have set the width of the object explicitly ActualWidth and RenderSize.Width will be set to 0.0. 2). When you have set the width of the object to Auto Width will be set to NaN.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top