Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DropDownButton

xceed.com edited this pageMar 5, 2018 ·4 revisions

DropDownButton

Derives from ContentControl

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

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

Properties

PropertyDescription
ButtonGets or sets the button used by the control.
CommandGets or sets the command to execute when the button is clicked.
CommandParameterGets or sets the command parameter to pass to theCommand when the button is clicked.
CommandTargetGets or sets the element on which to raise the specified command.
ContentGets or sets the object to use as the button's content.
DropDownContentGets or sets the object to use as the drop down button's content.
DropDownContentBackgroundGets or sets the Background of the popup.
IsOpenGets or sets a value indicating whether or not the drop down is open.
MaxDropDownHeightGets or sets the Maximum height of the popup in the control. Default is SystemParameters.PrimaryScreenHeight / 2.

Events

EventDescription
ClickRaised when the button is clicked.
ClosedRaised when the DropDownButton dropdown closes.
OpenedRaised when the DropDownButton dropdown opens.

Support this project, check out thePlus Edition.

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp