Is it possible to create a split button using Infragistics (outside of the Ribbon) that looks like the "Change your view" button in Windows File Explorer for Windows 7? Below is an image on the internet that show the button I am describing.
The left side of the button behaves like a normal button with a click action and the right side is a drop down menu that which contains menu items with their own click actions.
Thanks,
-eric
Hi, I'm experiencing the same issue, did you get this theme working with the split button?
I just want the Office2013 theme applied to a MenuTool outside of the Ribbon. Can you give me some direction on getting this to work?
Hello Eric,
The MenuTool element has only a ContentPresenter in its template and the content is added internally via code. The element you can retemplate is MenuToolPresenter. You can find its default Style in the RibbonGeneric.xaml file.
Hope this helps you.
Thanks for the reply. I would like to alter the style of the MenuButton so that it looks more like a traditional button when IsMouseOver is false. I was trying to see if I could get the Style or Template of the MenuButton using Expression Blend 2012 but I am still reading about this topic. I was also looking at the RibbonGenerics.xaml file to see if I could find the XAML that controls the style/template of the MenuButton.
You are right that the Tools are meant to be used inside the XamRibbon, but they can also be used outside it. The documentation states that the tool can be placed in Ribbon, not that it should be placed inside it. Also I modified the sample I sent you before, so now the MenuTool has a background. Basically I handled the Loaded event and get the element that is responsible for the background and set its background to a color different from transparent.