We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

MainFrameBarManager

I need to change the barstyle of one of the bars in my bar manager programatically. WHen I do this (bar.BarStyle = BarStyle.TextBelowImage) all the other properties in barstyle seem to get erased... i.e. BarStyle.Visible = false. I have attached a sample app. Thanks, Ronda

2 Replies

AD Administrator Syncfusion Team March 3, 2005 04:12 AM UTC

Hi Ronda, Set the BarStyle using the following code : bar.BarStyle |= BarStyle.TextBelowImage; so that the new BarStyle field gets appended to the existing ones. Let me know if this works for you. Thanks for your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.


RB Ronda Bergman March 3, 2005 02:37 PM UTC

That did it thanks! Ronda

Loader.
Live Chat Icon For mobile
Up arrow icon