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..
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.