Does anybody know how to get the status bar that is docked bottom to properly appear within the Main UI border when the toolbarsmanager control is set to display the ribbon? If I:
1. add a toolbars manager control to the form and set the ribbon to show.
2. add a status bar to the form and dock bottom.
. . . then the status bar properly appears within the main UI with a border around the entire application.
But when I set the IsGlassSupport to False so that the UI properly styles the entire application, then the status bar "hangs" outside of the main application border and looks really ugly depending on which appstyle is loaded. The status bar should remain connected to and embedded within the main form rather than appearing as a stand alone control that is taped together at the bottom of the form.
Hello,
What you could do in your case is to set FormDisplayStyle property of UltraToolbasManager to StandardWithRibbon, then form will displays normally based on its FormBorderStyle property settings and it also includes some Ribbon elements in the caption area, such as the QAT and Contextual Tab Group labels. You can do that with the help of the designer (by changing the corresponding property) or by adding the following line of code:
ultraToolbarsManager1.FormDisplayStyle = Infragistics.Win.UltraWinToolbars.FormDisplayStyle.StandardWithRibbon;
Please try this suggestion and let me know if this is the result which you are looking for.
If you have any other questions feel free to ask them.
Thank you for the reply. I did as you suggest and this fixed the status bar problem. It did, however, introduce a different problem. I have the .IsGlassSupported property set to False.
When the .FormDisplayStyle is not set / left to default setting, the minimize, maximize, and close control buttons appear with their appropriate glyph in the upper right hand corner of the form. But when the change is made to set the .FormDisplayStyle to StandardWithRibbon, the minimize, maximize, and close glyphs disappear. The three control boxes are still visibile, but they are solid colored boxes without the minus sign (minimize), square (maximize) and X (close).