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¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [SplitButton](# class. |
Properties¶
| Name | Summary |
|---|---|
| Flyout | Gets or sets the flyout associated with this button. |
| IsDropDownOpen | Gets or sets a value indicating whether the drop-down for a button is currently open. |
Fields¶
| Name | Summary |
|---|---|
| static FlyoutProperty | Property for [Flyout](# |
| static IsDropDownOpenProperty | Property for [IsDropDownOpen](# |
| SplitButtonToggleButton | Control responsible for toggling the drop-down button. |
Methods¶
| Name | Summary |
|---|---|
| OnApplyTemplate | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| OnContextMenuClosed | Called when [context menu closed]. |
| OnContextMenuOpened | Called when [context menu opened]. |
| OnIsDropDownOpenChanged | Called when [is drop down open changed]. |
| ReleaseTemplateResources | Triggered when the control is unloaded. Releases resource bindings. |
| OnFlyoutChangedCallback | Called when [flyout changed callback]. |
Inherited members
CrissCross.WPF.UI.Controls.Button.IconPropertyCrissCross.WPF.UI.Controls.Button.AppearancePropertyCrissCross.WPF.UI.Controls.Button.MouseOverBackgroundPropertyCrissCross.WPF.UI.Controls.Button.MouseOverBorderBrushPropertyCrissCross.WPF.UI.Controls.Button.PressedForegroundPropertyCrissCross.WPF.UI.Controls.Button.PressedBackgroundPropertyCrissCross.WPF.UI.Controls.Button.PressedBorderBrushPropertyCrissCross.WPF.UI.Controls.Button.CornerRadiusPropertyCrissCross.WPF.UI.Controls.Button.#ctorCrissCross.WPF.UI.Controls.Button.IconCrissCross.WPF.UI.Controls.Button.AppearanceCrissCross.WPF.UI.Controls.Button.MouseOverBackgroundCrissCross.WPF.UI.Controls.Button.MouseOverBorderBrushCrissCross.WPF.UI.Controls.Button.PressedForegroundCrissCross.WPF.UI.Controls.Button.PressedBackgroundCrissCross.WPF.UI.Controls.Button.PressedBorderBrushCrissCross.WPF.UI.Controls.Button.CornerRadiusSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString