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

DropDownButtonBase.PopupContentTemplateSelector Property

Gets or sets an object that chooses a content template for this DropDownButtonBase based on custom logic. This is a dependency property.

Namespace: DevExpress.Xpf.Core

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

Declaration

public DataTemplateSelector PopupContentTemplateSelector { get; set; }

Property Value

Type Description
DataTemplateSelector

A DataTemplateSelector object that chooses a content template for this DropDownButtonBase based on custom logic.

Remarks

To explicitly set the content template, use the DropDownButtonBase.PopupContentTemplate. This template will be applied to an object that serves as a pop-up for thisDropDownButtonBase (see the DropDownButtonBase.PopupContent property).

See the Choosing Templates Based on Custom Logic article to learn more.

See Also