Skip to main content

BaseLayoutItem.CaptionTemplateSelector Property

Gets or sets an object that chooses a template applied to the BaseLayoutItem.CaptionTemplate property. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v22.2.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public DataTemplateSelector CaptionTemplateSelector { get; set; }

Property Value

Type Description
DataTemplateSelector

A System.Windows.Controls.DataTemplateSelector descendant that applies a template based on custom logic.

Remarks

When you add an element to a CaptionTemplate, you should set the element’s dxdove:DockPane.HitTestType attached property to Content.

See Also