Quantcast
Channel: wpftoolkit Wiki Rss Feed
Viewing all articles
Browse latest Browse all 892

Updated Wiki: SplitButton

$
0
0

SplitButton

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.

splitbutton.jpg
<xctk:SplitButton Content="Click Me">
            <xctk:SplitButton.DropDownContent>
                <xctk:ColorCanvas />
            </xctk:SplitButton.DropDownContent>
        </xctk:SplitButton>

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

Viewing all articles
Browse latest Browse all 892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>