Setting Stack Buttons Visibility to Collapsed

3 replies. Last post: June 24, 2010 10:53 PM by Glenn Layaar
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi,

I have a problem making stack buttons invisible at runtime.My code blog is like this-->

 

WebFishEyeButton but = cor.FindButton("btn1"); but.StackButtons[1].Visibility = Visibility.Collapsed;

 

i can catch both buttons, there is no exception thrown, but while i can set buttons visibility to collapsed, i cannot do that at stackbuttons.

i could remove them by this code 

but.StackButtons.RemoveAt(0);

 
All times are GMT -5. The time now is 11:32 AM.
Previous Next