Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

Hiding the Application Menu Button

Last post 08-18-2008 15:26 by cjprindle. 9 replies.
Page 1 of 1 (10 items)
Sort Posts: Previous Next
  • 03-25-2008 9:04

    • raona
    • Not Ranked
    • Joined on 03-25-2008
    • Points 55

    Hiding the Application Menu Button

    Hello,

    Is there any way to hide the Application Menu Button in the xamRibbon?

     

    Thank you in advance for your help

    Filed under:
    • Post Points: 35
  • 04-28-2008 17:28 In reply to

    Re: Hiding the Application Menu Button

    Hello Raona,

    I have an official reason why there is not a way to remove the application menu from the xamRibbon.

     

    In exchange for the right to use the Ribbon UI, Microsoft requires developers that use the Ribbon control (from any vendor – not just Infragistics) to adhere to certain UI design guidelines when incorporating the Ribbon in their application. 

     

    The xamRibbon is designed to adhere closely to those guidelines, which means you cannot remove the application menu and that we encourage our users to follow the guidelines.

     

    Remember, if you use the xamWindow, the application menu becomes part of the window title bar, which makes it a selling feature.

     

    Let us know if we can help further.

     

    Thanks

     

    Curtis

    Curtis Taylor
    Senior Consultant
    Infragistics, Inc.
    • Post Points: 20
  • 05-24-2008 16:47 In reply to

    Re: Hiding the Application Menu Button

    I'm sorry but that is one of the most stupid reasons to limit a customer's choice I've ever heard of.  Microsoft should be ashamed.  What if you not using the ribbon as part of a main window.  What if you want to use it as a heading for a control.

    • Post Points: 20
  • 05-27-2008 6:14 In reply to

    Re: Hiding the Application Menu Button

    WPF is incredibly flexible in its ability to utilize controls everywhere and to customize all controls. I encourage you to explore trying the controls any way you want. Let us know if you find any issues which don't work as expected. 

    If the combination ideas doesn't fare well, it would not be too difficult to use Expression Blend to customize the WPF ToolBarTray and ToolBars to create a toolbar control which fits into the design you may be looking for.

    I am willing to continue to explore these options with you.

    Curtis Taylor
    Senior Consultant
    Infragistics, Inc.
    • Post Points: 5
  • 08-17-2008 22:01 In reply to

    Re: Hiding the Application Menu Button

    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

    Filed under:
    • Post Points: 20
  • 08-17-2008 22:13 In reply to

    Re: Hiding the Application Menu Button

    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.

    • Post Points: 20
  • 08-17-2008 22:25 In reply to

    Re: Hiding the Application Menu Button

    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.

    • Post Points: 20
  • 08-18-2008 0:04 In reply to

    Re: Hiding the Application Menu Button

    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).

    Curtis Taylor
    Senior Consultant
    Infragistics, Inc.
    • Post Points: 35
  • 08-18-2008 9:46 In reply to

    Re: Hiding the Application Menu Button

    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

    • Post Points: 5
  • 08-18-2008 15:26 In reply to

    Re: Hiding the Application Menu Button

    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

    <StackPanel>

    <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.

    • Post Points: 5
Page 1 of 1 (10 items)
Powered by Community Server (Commercial Edition), by Telligent Systems