Back to Devexpress

DropDownButtonBase.PopupContentTemplateSelector Property

wpf-devexpress-dot-xpf-dot-core-dot-dropdownbuttonbase-65beb390.md

latest2.1 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public DataTemplateSelector PopupContentTemplateSelector { get; set; }
vb
Public Property PopupContentTemplateSelector As DataTemplateSelector

Property Value

TypeDescription
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

DropDownButtonBase Class

DropDownButtonBase Members

DevExpress.Xpf.Core Namespace