DropDownButton class
A button whose activation opens a drop-down menu. It has no primary command: every activation path opens the menu, and the menu items carry the commands.
Guide: C# Markup reference: Button
public sealed class DropDownButton : ContentControl, IPopupOwnerPublic Members
Section titled “Public Members”| name | description |
|---|---|
| DropDownButton() | The default constructor. |
| DropDownMenu { get; set; } | Gets or sets the menu the drop-down 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 carries the button face and opens the menu. |
See Also
Section titled “See Also”- class ContentControl
- interface IPopupOwner
- namespace Aprillz.MewUI.Controls