Back to Devexpress

PopupControlContainer Class

wpf-devexpress-dot-xpf-dot-bars-209dc2f9.md

latest2.8 KB
Original Source

PopupControlContainer Class

A control container that supports the popup functionality.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public class PopupControlContainer :
    BarPopupExpandable
vb
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.

Inheritance

Show 11 items

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Popup DevExpress.Xpf.Core.PopupBase BarPopupBase BarPopupExpandable PopupControlContainer

See Also

PopupControlContainer Members

DXContextMenu

PopupControl

DevExpress.Xpf.Bars Namespace