Skip to main content

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

NuGet Package: DevExpress.Wpf.Core

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