Bar

PopupControlContainer Class

A control container that supports the popup functionality.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public class PopupControlContainer :
    BarPopupExpandable
Public Class PopupControlContainer
    Inherits 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.

See Also