Gets or sets the template used to visualize objects stored as elements in the ItemsSource collection.
This is a dependency property.
public DataTemplate ItemTemplate { get; set; }
Public Property ItemTemplate As DataTemplate
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.