Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Updated Wiki: DropDownButton

$
0
0

DropDownButton

The DropDownButton control is a button that when clicked displays a drop down in which you can place any custom content.

dropdownbutton.jpg
<extToolkit:DropDownButton Content="Click Me" Margin="15" >
            <extToolkit:DropDownButton.DropDownContent>
                <extToolkit:ColorCanvas />
            </extToolkit:DropDownButton.DropDownContent>
        </extToolkit:DropDownButton>

Properties / Events

Property Description
Button Gets or sets the button used by the control.
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 or sets the element on which to raise the specified command.
Content Gets/Sets the object to use as the button's content.
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 DropDownButton dropdown closes
Opened Executes when the DropDownButton dropdown opens


Get 50+ awesome WPF controls in the Plus Edition.
---

Viewing all articles
Browse latest Browse all 4964

Trending Articles



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