Property DropDown
| Improve this Doc View SourceDropDown
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.