Back to Devexpress

DockLayoutManager.ItemTemplate Property

wpf-devexpress-dot-xpf-dot-docking-dot-docklayoutmanager-9016fe48.md

latest2.2 KB
Original Source

DockLayoutManager.ItemTemplate Property

Gets or sets a DataTemplate used to render items stored in the DockLayoutManager.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 DockLayoutManager.ItemsSource collection.

|

Remarks

You can populate the DockLayoutManager with items from a data source by using the DockLayoutManager.ItemsSource collection. To render elements of this collection as layout items, provide templates via the ItemTemplate or DockLayoutManager.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

DockLayoutManager Class

DockLayoutManager Members

DevExpress.Xpf.Docking Namespace