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.1.dll

Declaration

public ControlTemplate PopupContentTemplate { get; set; }
Public Property PopupContentTemplate As ControlTemplate

Property Value

Type Description
ControlTemplate

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

Remarks

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.

NOTE

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