DropDownButton.MenuManager Property
In This Article
Gets or sets an object that manages the display of the associated popup control .
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(null)]
[DXCategory("Behavior")]
public IDXMenuManager MenuManager { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
DevExpress. |
null | An object implementing the IDXMenu |
#Remarks
For a DropDownButton to display a PopupMenu or PopupControlContainer, a MenuManager must be specified. It can be specified as follows:
- if a PopupMenu is used as a dropdown control, the MenuManager can be specified via the PopupMenuBase.Manager property.
- if a PopupControlContainer is used as a dropdown control, the MenuManager can be specified via the PopupControlContainer.Manager property.
- otherwise, you can provide a MenuManager via the DropDownButton’s MenuManager property.
The BarManager object implements the IDXMenuManager interface.
See Also