Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top