DropDownButton.MenuManager Property
Gets or sets an object that manages the display of the associated popup control .
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
[DefaultValue(null)]
[DXCategory("Behavior")]
public IDXMenuManager MenuManager { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DevExpress.Utils.Menu.IDXMenuManager | null | An object implementing the IDXMenuManager interface. |
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