Back to Devexpress

LayoutGroup.ItemContentTemplateSelector Property

wpf-devexpress-dot-xpf-dot-docking-dot-layoutgroup-f4e2b7b7.md

latest1.7 KB
Original Source

LayoutGroup.ItemContentTemplateSelector Property

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

This is a dependency property.

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

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

Property Value

TypeDescription
DataTemplateSelector

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

|

Remarks

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 ItemContentTemplateSelector property supports the MVVM design pattern.

See Also

LayoutGroup Class

LayoutGroup Members

DevExpress.Xpf.Docking Namespace