Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PopupControlContainer Class

A control container that supports the popup functionality.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public class PopupControlContainer :
    BarPopupExpandable

#Remarks

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.

#Inheritance

See Also