Hi, As per the topic, how do I minimze, and maximize the ribbon control - the same effect you get when you double click on the tab strip?
I was able to achieve this behavior by using "IsMinimized" (as suggested) along with the BeforeRibbonTabDropDown event.
In my case, I have a tab called "Admin" that does not have any groups or tools. For this tab, I want it to appear minimized when selected.
METHOD PRIVATE VOID ultraToolbarsManager1_BeforeRibbonTabDropDown( INPUT sender AS System.Object, INPUT e AS Infragistics.Win.UltraWinToolbars.BeforeRibbonTabDropDownEventArgs ):
IF e:Tab:key EQ "Admin" THEN e:Cancel = TRUE. RETURN.
END METHOD.
Sorry for the odd syntax (my language is OpenEdge ABL), but you get the idea.
I realized that it is normal behavior for it to show every time you change tabs (until you click a space outside the ribbon). I was hoping there was a way for it not to show at all when a user navigates to certain tabs. Is that even possible?
selbyri,
This sounds like an expected behavior. As in MS Outlook, when you switch tabs, the minimized ribbon is shown. Clicking outside the ribbon will minimize it again.
What is the behavior you are hoping to achieve ?
Every time I switch tabs, the minimized ribbon becomes un-minimized. Is anyone else encountering this problem?
cidolfus,
Set the UltraToolbarsManager.Ribbon.IsMinimized property to either true or false.
~Kim~