Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
how i am unable to invisible stackpanel child control.Let me know Solution for this.

stack1.visibility=system.windows.visibility.Hidden
Posted
Updated 10-Oct-13 4:00am
v2
Comments
stibee 11-Oct-13 4:09am    
Do you like to set all childs invisible or only a few?

1 solution

You just can set the Visibility in XAML:

XML
<StackPanel x:Name="StackPnl" Orientation="Horizontal" Visibility="Hidden">
                            
</StackPanel>


And in your code behind:

StackPnl.Visibility = Visibility.Hidden;


Hope this helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900