Skip to main content
A newer version of this page is available. .
Bar

PopupControlContainer Class

The control container that can be displayed as a dropdown.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v18.1.dll

Declaration

[ToolboxTabName("DX.18.1: Navigation & Layout")]
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "PopupControlContainer")]
public class PopupControlContainer :
    PanelControl,
    PopupControl,
    IBarObject,
    ISupportLookAndFeel,
    IDXDropDownControlEx2,
    IDXDropDownControlEx,
    IDXDropDownControl

The following members accept/return PopupControlContainer objects:

Remarks

A PopupControlContainer object represents a panel that can contain any controls. This panel can be displayed as a dropdown for DropDownButton controls, bar buttons and the Ribbon Application Button.

PopupControlContainer_RibbonApplicationMenu

A PopupControlContainer object can be created at design time by dragging the PopupControlContainer component from the Toolbox onto a form.

Note

For the PopupControlContainer object to work correctly, it must be bound to a BarManager or RibbonControl object using the PopupControlContainer.Manager or PopupControlContainer.Ribbon property, respectively.

After the panel has been created, you can add controls to it, and then bind the panel to a specific control using the following properties:

Note

A PopupControlContainer is never displayed at runtime as a standalone panel. It can only be displayed as a dropdown.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PopupControlContainer class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

See Also