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.
Why is ActualHeight set to NaN?
575 views Asked by Nathan At
1
NaN stands for "Not a Number".
1).When you have set the width of the object explicitly
ActualWidth
andRenderSize.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.