Skip to content

SplitButton class

Attributes: [TemplatePart]

Defined in

Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll Full name: CrissCross.WPF.UI.Controls.SplitButton Modifiers: public

Summary

        Represents a button with two parts that can be invoked separately. One part behaves like a standard button and the other part invokes a flyout.
        

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Class hierarchy
classDiagram
class SplitButton
class Button
Button <|-- SplitButton
class IDisposable {
    <>
}
IDisposable <|.. SplitButton

Inherits from: Button

Implements: IDisposable

Constructors

NameSummary
.ctorInitializes a new instance of the [SplitButton](# class.

Properties

NameSummary
FlyoutGets or sets the flyout associated with this button.
IsDropDownOpenGets or sets a value indicating whether the drop-down for a button is currently open.

Fields

NameSummary
static FlyoutPropertyProperty for [Flyout](#
static IsDropDownOpenPropertyProperty for [IsDropDownOpen](#
SplitButtonToggleButtonControl responsible for toggling the drop-down button.

Methods

NameSummary
OnApplyTemplate
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
OnContextMenuClosedCalled when [context menu closed].
OnContextMenuOpenedCalled when [context menu opened].
OnIsDropDownOpenChangedCalled when [is drop down open changed].
ReleaseTemplateResourcesTriggered when the control is unloaded. Releases resource bindings.
OnFlyoutChangedCallbackCalled when [flyout changed callback].
Inherited members