Hello,
Is there any way to hide the Application Menu Button in the xamRibbon?
Thank you in advance for your help
Did you ever find a workaround on this? I think Infragistics should provide a basic toolbar that has the style of the main toolbar so we can it use above ListViews and other controls. That should not be too difficult
Haven't found one yet and I agree they need that. I haven't tried using a regular wpf toolbar and placing the infragistics tool items inside that. That might work.
I tried using a RibbonGroup on it's own. It does show up without the application menu. However, the buttons inside don't get the default styles (hover, etc.) plus it ignores things like igr:RibbonGroup.MaximumSize and just give the default small image. I'm still looking though and will let you know if I find anything.
Hi Curtis,
I can confirm that placing a igRibbon:ButtonTool in StackPanel outside of the RibbonBar is not feasible. RibbonBrushKeys are ignored. I have a standard button sitting right next to it and it can recieve the DynamicResource from RibbonBrushKeys just fine so I don't know what I'm doing wrong. Here is the button definition
<igRibbon:ButtonTool Background="{DynamicResource {x:Static igRibbon:RibbonBrushKeys.ButtonToolHoverBorderDarkFillKey}}" LargeImage="Images/info_128.png" Content="Hello"></igRibbon:ButtonTool>
</StackPanel>
Moreover, the LargeImage property is ignored.
Thanks For the info. So if I understand you correctly, when I place a ButtonTool object in a StackPanel there is no default style. In fact, the LargeIcon property is ignored and only the small icon is used. Also, there is no mouseover action of any kind.
Can you give me a peice of Xaml that would style the button to approximate what it behaves like when its in a ribbon?
Thanks
Ribbon groups and Ribbons only work inside the Ribbon Tool. We designed this limitation in order to keep our licensing agreement with Microsoft to follow specified guidelines for presenting the Office Ribbon Interface.
The one part that is not tied to the Ribbon agreement are the Ribbon Editor Tools (such as the TextEditorTool, ButtonTool, etc). These editors can be placed into any WPF content similar to the XamEditors utilized by the XamDataGrid. You can also utilize the Ribbon brushes to theme the Ribbon editors and the background of whatever interface you choose (such as WPF Toolbars or your own rounded bordered panels to mimic your own ribbon).