Skip to main content

PopupControlContainer Class

A control container that supports the popup functionality.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v22.2.dll

NuGet Package: DevExpress.Wpf.Core


public class PopupControlContainer :


A PopupControlContainer object can contain other controls, and it can be displayed as a dropdown window. For example, you can associate a PopupControlContainer object with a BarSplitButtonItem object. Another use case is to replace a context menu with a PopupControlContainer object. To specify a context menu (or a popup control that will be used as a context menu) for a UIElement, use the BarManager.DXContextMenu property.

The PopupControlContainer‘s content is specified by the PopupControlContainer.Content property.

If you are observing an exception at design time when you initialize a property with a PopupControlContainer object, try initializing this property with the PopupControlContainerInfo object instead. The PopupControlContainerInfo creates a corresponding PopupControlContainer internally and has the same settings as the PopupControlContainer.

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


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.


See Also