MindFusion.Wpf Pack Programmer's Guide
MindFusionButton Members
Constructors Fields Properties Methods Events
 


Represents an advanced button that can optionally display a drop-down panel when clicked.

The following tables list the members exposed by the MindFusionButton type.

 Public Constructors

  Name Description

MindFusionButton

Initializes a new instance of the MindFusionButton class.

 Public Fields

  Name Description

ButtonTypeProperty

Identifies the ButtonType dependency property.

CornerRadiusProperty

Identifies the CornerRadius dependency property.

HandleMouseEventsProperty

This member is for internal use only.

IsDropDownOpenProperty

Identifies the IsDropDownOpen dependency property.

OverBackgroundProperty

Identifies the OverBackground dependency property.

PopupContentProperty

Identifies the PopupContent dependency property.

PressedBackgroundProperty

Identifies the PressedBackground dependency property.

SplitButtonSizeProperty

Identifies the SplitButtonSize dependency property.

 Public Properties

  Name Description

ButtonType

Gets or sets the type of the button. This is a dependency property.

CornerRadius

Gets or sets the roundness of the button corners. This is a dependency property.

HandleMouseEvents

This member is for internal use only.

IsDropDownOpen

Gets or sets a value indicating whether the drop-down panel is open. This is a dependency property.

OverBackground

Gets or sets the background of the button when it is pointed with the mouse. This is a dependency property.

PopupContent

Gets or sets the contents of the drop-down panel. This is a dependency property.

PressedBackground

Gets or sets the background of the button when it is pressed. This is a dependency property.

SplitButtonSize

Gets or sets the width of the area containing the drop-down indicator. This is a dependency property.

 Public Methods

  Name Description

ForseReleaseMouseCapture

 

OnApplyTemplate

FrameworkElement.OnApplyTemplate override.

 Protected Methods

  Name Description

OnClick

Raises the Click event.

OnDropDownClosed

Raises the DropDownClosed event.

OnDropDownOpened

Raises the DropDownOpened event.

OnMouseButtonDown

Raises the MouseButtonDown event.

OnSplitClick

Raises the SplitClick event.

 Public Events

  Name Description

Click

Raised when the button is clicked.

DropDownClosed

Raised when the drop down panel is closed.

DropDownOpened

Raised when the drop down panel is opened.

MouseButtonDown

Raised when the mouse is pressed anywhere in the button.

SplitClick

Raised when the drop-down indicator in the button is clicked.

 See Also

MindFusionButton Class
MindFusion.UI.Wpf Namespace