How can I remove the little 'Configure buttons' popup menu on the XamOutlookBar or at least disable it?
The one containing the items " Show More buttons, Show Fewer buttons, etc..." Thanks,
Well if you submitted this to the support group then they will handle your issue. That being said, you may want to familiarize yourself with retemplating elements since you will likely come across a need to do this for other things. As I mentioned we ship the default xaml for the controls in the DefaultStyles directory so you can use that as the basis for any custom templates/styles you would create for that element. In this case I mentioned that the element in question is the GroupOverflowArea so you would take the Style for that from the default styles and then modify it as needed. So you could copy the Style for that element. Then find the MenuItem instances within the PART_OverflowMenu named MenuItem in that style's ControlTemplate and remove them (there are 4 child menu items in our default template that you probably want to remove - the more buttons, less buttons, options and add/remove menu items). And put that modified Style into the Resources of your xamOutlookBar.
We put in a support request for exactly this (CAS-30587-IP5QDZ). Could you please provide an exact example of how to achieve this?
Joe Koolipurackal
Licensed user for NetAdvantage for WPF
You would need to retemplate the GroupOverflowArea. We ship the default xaml as part of the install so you can use the default style for that element from the DefaultStyles directory as the basis for creating your custom style. I would recommend not entirely removing the PART_OverflowMenu since that menu should be available in case there are more groups than can fit in the overflow area or else your end user will not be able to select any groups that don't fit in the overflow area. Instead you may want to just remove the menu items that you don't want to be there (e.g. ShowMoreButtonsMenuItemHeader).