Back to Devexpress

GalleryItemGroup.ItemTemplate Property

wpf-devexpress-dot-xpf-dot-bars-dot-galleryitemgroup-42ec9ef7.md

latest1.5 KB
Original Source

GalleryItemGroup.ItemTemplate Property

Gets or sets the template used to visualize objects stored as elements in the GalleryItemGroup.ItemsSource collection.

This is a dependency property.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
DataTemplate

A DataTemplate object that specifies the corresponding template.

|

Remarks

The DataTemplate must be defined as a ContentControl with a GalleryItem object as the content.

The ItemTemplate property supports the MVVM design pattern. See MVVM Support to learn more.

See Also

GalleryItemGroup Class

GalleryItemGroup Members

DevExpress.Xpf.Bars Namespace