SplitButton class
이 콘텐츠는 아직 번역되지 않았습니다.
A button split into a primary face that runs Command and a drop-down face that opens a menu. When the command cannot execute, only the primary face goes inactive; the menu stays reachable.
Guide: C# Markup reference: Button
public sealed class SplitButton : Button, IPopupOwnerPublic Members
Section titled “Public Members”| name | description |
|---|---|
| SplitButton() | The default constructor. |
| DropDownMenu { get; set; } | Gets or sets the menu the drop-down face opens. |
| IsDropDownOpen { get; set; } | Gets or sets whether the menu is open. |
| MaxDropDownHeight { get; set; } | Gets or sets an upper bound on the menu height; the default is no bound. |
| event DropDownClosed | Occurs after the menu closed. |
| event DropDownOpening | Occurs right before the menu opens, so items can be rebuilt. |
| static readonly DropDownMenuProperty | |
| static readonly IsDropDownOpenProperty | |
| static readonly MaxDropDownHeightProperty | |
| const PART_DROP_DOWN_BUTTON | Name of the required template part that opens the menu. |
| const PART_PRIMARY_BUTTON | Name of the required template part that runs the primary action. |
See Also
Section titled “See Also”- class Button
- interface IPopupOwner
- namespace Aprillz.MewUI.Controls