Skip to main content

LayoutGroup.ItemCaptionTemplateSelector Property

Gets or sets an object that chooses a template used to visualize captions of objects stored as elements in the DockLayoutManager.ItemsSource collection.

This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v23.1.dll

NuGet Package: DevExpress.Wpf.Docking


public DataTemplateSelector ItemCaptionTemplateSelector { get; set; }

Property Value

Type Description

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


To implement custom logic for choosing a template, you should create a System.Windows.Controls.DataTemplateSelector descendant, and override the System.Windows.Controls.DataTemplateSelector.SelectTemplate method. This method returns a data template for a specific object.

The ItemCaptionTemplateSelector property supports the MVVM design pattern.

See Also