stack panel width and height to zero in .cs
- by prince23
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