콘텐츠로 이동

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, IPopupOwner
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.