Sunday, March 13, 2011

Hiding the wpf ribbon application menu

Setting The Application Menu to x:Null or simple not setting any value for the application menu does not work and you still see the ribbon menu button :


But it can be hidden by setting the Ribbon.ApplicationMenu to a dummy item and set its visibility to Collapsed.


You will (ofcourse) still see the button at design time but when you run the application it will be hidden :)


2 comments:

  1. Thank you. That's just what I needed.

    ReplyDelete
  2. Thanks for the tip; just what I was looking for!

    ReplyDelete