Show / Hide Table of Contents

Property DropDown

| Improve this Doc View Source

DropDown

Gets or sets the drop-down System.Windows.Controls.ContextMenu.

Declaration
public ContextMenu DropDown { get; set; }
Property Value
Type Description
System.Windows.Controls.ContextMenu

The drop-down System.Windows.Controls.ContextMenu.

Remarks

You can assign a System.Windows.Controls.ContextMenu to DropDown property directly, or assign a collection to DropDownItemsSource to generate a context menu, and use DropDownItemStyle property to apply a System.Windows.Style to the generated System.Windows.Controls.MenuItem. The DropDown property takes precedence over DropDownItemsSource property.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest