The SplitButton control is a button that can be clicked and also provides a drop down in which you can place any custom content within.

        <xctk:SplitButton Content="Click Me">
                <xctk:ColorCanvas />

Properties / Events

Property Description
Command Gets/Sets the command to execute when the button is clicked.
CommandParameter Gets/Sets the command parameter to pass to the Command when the button is clicked.
CommandTarget Gets/Sets the element on which to raise the specified command.
DropDownContent Get/Sets the object to use as the drop down button's content.
IsOpen Gets/Sets a value indicating whether or not the drop down is open.

Event Description
Click Executes when the button is clicked.
Closed Executes when the SplitButton dropdown closes
Opened Executes when the SplitButton dropdown opens

Get 50+ awesome WPF controls in the Plus Edition.

Last edited May 9, 2013 at 8:52 PM by Kosmatos, version 9


BradleyUffner Dec 13, 2015 at 4:15 PM 
When you add this control to a Toolbar it doesn't match the look of regular buttons. I'm unable to get rid of the black border using BorderBrush or BorderThickness.

cbordeman Oct 10, 2015 at 8:41 AM 
Sorry, I missed the IsOpen. It exists. Doh.

cbordeman Oct 10, 2015 at 8:40 AM 
There is NO IsOpen property on SplitButton. I can find no way to close the danged drop down once opened programatically.

BoucherS Sep 30, 2013 at 3:06 PM 
Discussion has been created.

urza Sep 28, 2013 at 1:53 PM 
Can anyone tell me please how to change the visual states of the component? Basically I want to change the blue background (mouseOver, mousePressed, IsOpen etc) with different LinearGradientBrush but I am clueless how to go about it. By editing the control template in Blend I managed to add custom trigger and override the main button part when mouseIsOver, but the glyph part and mousePressed etc are not willing to change..... how should I do it? Are the background colors defined somewhere where I could just change them? If not how should I retemplate it that I can have differen background in these visual states? Thanks a lot.

mspring Mar 26, 2012 at 12:22 PM 
I wish anyone would create a splitbutton which seamlessly integrates into a ToolBar -- which means for all supported WPF themes (aero, etc.)