stack panel width and height to zero in .cs
Posted
by prince23
on Stack Overflow
See other posts from Stack Overflow
or by prince23
Published on 2010-05-18T14:03:08Z
Indexed on
2010/05/18
14:40 UTC
Read the original article
Hit count: 215
silverlight-4.0
hi ,
have an stack panel defined in my design page
<StackPanel Width="973" x:Name="spmarks" >
</StackPanel>
now in .cs page i need to set the width and height of the stack panel to zero
spmarks.ActualWidth ="0"; spmarks.ActualWidth ="0";
here i am getting error. how can i set width and height to zero now any solution on this would be great
thank you
© Stack Overflow or respective owner