Back to Devexpress

LayoutGroup.ItemTemplate Property

wpf-devexpress-dot-xpf-dot-docking-dot-layoutgroup-4f435c08.md

latest2.1 KB
Original Source

LayoutGroup.ItemTemplate Property

Gets or sets a DataTemplate used to render items stored in the LayoutGroup.ItemsSource collection.

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public DataTemplate ItemTemplate { get; set; }
vb
Public Property ItemTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

A DataTemplate used to render items in the LayoutGroup.ItemsSource collection.

|

Remarks

You can populate the LayoutGroup with items from a data source by using the LayoutGroup.ItemsSource collection. To render elements of this collection as layout items, provide templates via the ItemTemplate or LayoutGroup.ItemTemplateSelector property.

See the Data Templating Overview topic to learn about DataTemplate objects.

See Also

ItemTemplateSelector

ItemsSource

MVVM Support - Bind to a Collection of Dock Panels

LayoutGroup Class

LayoutGroup Members

DevExpress.Xpf.Docking Namespace