Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
PopupMenu can not be made invisible
posted

We use Infragistics.Win.UltraWinToolbars.UltraToolbarsManager (Infragistics2.Win.UltraWinToolbars.v8.2.dll Version 8.2.20082.1000) in our .Net (3.5) application.

 We have a popupmenu and we need to make it invisible in certain conditions. We use following code to make it invisible.

 this.ultraToolbarsManager1.Tools["TOOL_KEY"].SharedProps.Visible = false;

After running this code, the popup menu gets disabled instead of getting invisible.

Please let us know if there is any other way to make a tool invisible.

Thanks..

InfragisticsPopupErr.zip
Parents
No Data
Reply
  • 44743
    posted

    I'm guessing this is in the Ribbon. According to Microsoft's Office 2007 UI Guidelines, the contents of each ribbon tab cannot change based on context, so tools cannot be hidden. Therefore, tools with Visible set to false will actually be disabled. You can get around this by setting Office2007UICompatibility to False.

Children
No Data