A newer version of this page is available. Switch to the current version.

PopupBaseEdit.PopupContentTemplate Property

Gets or sets the template that defines the presentation of the popup window’s content. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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


public ControlTemplate PopupContentTemplate { get; set; }

Property Value

Type Description

A ControlTemplate object that represents the template of the popup window’s content.


The PopupContentTemplate property allows you to specify the popup window content.

Use the PopupElement property to get the control placed to the popup window (for example, for the PopupCalcEdit, the PopupElement property returns a Calculator). The PopupRoot allows you to get a root element within the popup.

Set the AllowRecreatePopupContent property to true to recreate the popup content each time the editor displays its popup.


For the LookupEdit control:

If you use the PopupContentTemplate property to embed a customized GridControl to the LookUpEdit the embedded grid control’s x:Name attribute must be set to PART_GridControl.

See Also