Hi,
I have the following questions regarding the Ribbon.
Regards
Sivaram
Civaram said:Is there a way to reduce the height of the Ribbon? We want the ribbon look and feel and at the same time we don't have that many options to put on the Ribbon. Eventhough it has the option to minimize but at the times when we click one of the tabs, it looks too big (height wise) for our option set. Infact it looks wierd with one or two options.
The height of the ribbon is based on the height of three normal sized tools. The height of these tools is based on the default font height for tools. There is no way to decrease the height of the ribbon. If you only have a few options, it might be better to show toolbars instead of the ribbon.
Civaram said: Is there a way to add a listbox in ribbon group under one of the tabs?
You can add a ControlContainerTool to the ribbon and set its Control property to an instance of a ListBox on your Form.
Civaram said: Is there a way to clear/null the ribbon group caption (default "ribbonGroup1")?
Set the Caption property of the RibbonGroup to string.Empty.
Civaram said:I see Ribbon skinning the MDI form's caption bar but it does not for the child form caption bar. Does ribbon handles that or is there an alternative way to achive this?
If you have an UltraToolbarsManager on the Mdi child form and the Ribbon is Visible, the rounded form should be used automatically. Otherwise, you can add an UltraToolbarsManager to the child form and set its FormDisplayStyle to RoundedSizable or RoundedFixed.
Civaram said: Is it possible to hide the highlighted area (with red) as shown in the attached image. This menu appeares when we click the image (like office button) on the upper left corner.
I am a little confused as to what you want removed. If you want the button to be hidden so the menu cannot be shown, you can set the UltraToolbarsManager.Ribbon.ApplicationMenu.Visible to False. If you want to just hide the right area of the application menu, this is not currently possible. You can submit a feature request for this: http://devcenter.infragistics.com/Protected/RequestFeature.aspx.
Civaram said: Can we add a label to Quick Access toolbar? Preferrably to the right hand corner.
No, you cannot add text to the QuickAccessToolbar and LabelTools cannot be added to this toolbar.
Thanks for the response.
1) It is unfortunate to know that Ribbon Control height cannot be controled. Microsoft Word has lot of options to display and make sense to have a ribbon with that height. But Infragistics when emulating would have added options to control the height.
2) Thanks for this and I will try with ControlContainerTool.
3) Setting ".Ribbon.Tabs[0].Groups[0].Caption = string.Empty;" worked for me.
4) UltraToolbarsManager on the child form seems to be working. Does it mean "UltraToolbarsManager" must be there on all the forms eventhough we do not require any toolbars on the child forms? Can we configure the caption bar's back color in AppStylist (UltraToolbarsManager in AppStylist software)?
5) Its the secons one: I am looking for an option to hide the right area of the application menu. Again my suggestion would be similar to what I mentioned in #1 (Infragistics when emulating would have added option to hide the right area in the application menu.). Infact I submitted the feature request.
Thanks
Hi, Is it possible to increase the ribbon height by any chance? If not then please tell me how to get rid of caption of the group. I removed the caption and made caption area back color transpatrent. But looks like caption bar is still there. And it is taking a constant real estate from ribbon.
Please advise.
Thanks Mike Dour.
prabalmukherjee said:Hi, Is it possible to increase the ribbon height by any chance? If not then please tell me how to get rid of caption of the group. I removed the caption and made caption area back color transpatrent. But looks like caption bar is still there. And it is taking a constant real estate from ribbon.
The ribbon height is determined by the height of three normal sized tools and they are controlled by the height of the default font used in the ribbon. So in a way, you can change the height of the ribbon by increasing the font height of the tools (on UltraToolbarsManager.Appearance.FontData), but you cannot directly control the ribbon height. If you want to remove the caption of the group, you would have to use a creation filter because there are no properties to hide this. However, it would still carve out space in the ribbon for the captions even if you removed their elements, so it still would not help you.