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).
Can you please let me know which exactly version of Infragistics you are using, because I am not sure that I am able to reproduce your issue on my side, please see the attached screen shot.
Meanwhile another thing that you could do in your case is to use a Draw Filter. For more information on draw filters check this link:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/Win_Draw_Filter.html
You could use this interface in order to draw bottom, top and left borders of the status bar, so that it looks like as part of the main window. Please see attached sample that demonstrates this approach.
I am waiting for your answer. Thank you for using Infragistics components.
Hi,
I am facing the issue with 4.5 framework but with 4.0 its is fine
Windows forms Application, Visual studio 2012
INFRAGISTICS v12.2(12.2.20122.1006)
Tool : Ultratoolbarmanager
style : office2010
property : IsGlassSupported
when framework is 4.0: no matter IsGlassSupported is true or false windows form is ok
when framework is 4.5: if IsGlassSupported is false, windows form icon is closer to left and top.
I was able to reproduce your issue with Infragistics NetAdvantage ForWindowsForms Version 12.1.20121.1001. So I’ve made same test with the latest service release of 12.1 Volume (Version 12.1.20121.2124), it all seems to work properly, please see attached video.
My suggestion is to upgrade to the latest service release (Version 12.1.20121.2124). For instructions on how to download it follow this link:
http://ko.infragistics.com/community/forums/t/29398.aspx
If you have any additional questions don’t hesitate to ask them.
I'm using 2012.1.
toolbarsmanager.style = ultrawintoolbars.toolbarstyle.Office2010
Use any of the Office2010 .isl's (e.g. Black, Blue, Silver) and the min, max, close button glyphs are not shown.