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

SetBarVisibility in the mainFrameBarManager

I have several XPMenus.Bar in a MainFrameBarManager, and I would like to make them visible or invisble depending on a selected opcion in a groupBar. My problem is that while I''m making that process the botton panel (it''s fill docked) blinks because the resizing. Is there any way to lock the size of the mainFrameBarManager? Thanks in advance

1 Reply

AD Administrator Syncfusion Team January 28, 2005 04:58 PM UTC

Hi Jose, If you call SuspendLayout() before (and ResumeLayout() after) you change the visibility of the Bars, the Panel won''t resize until after you''ve changed all the Bars. This should prevent the Panel from resizing multiple times, which causes the flickering. Regards, Gregory Austin Syncfusion, Inc.

Live Chat Icon For mobile
Up arrow icon