ItemsControl.ItemTemplate ItemsControl.ItemTemplate ItemsControl.ItemTemplate ItemsControl.ItemTemplate Property

Definition

Gets or sets the DataTemplate used to display each item.

public : DataTemplate ItemTemplate { get; set; }
DataTemplate ItemTemplate();

void ItemTemplate(DataTemplate itemtemplate);
public DataTemplate ItemTemplate { get; set; }
Public ReadWrite Property ItemTemplate As DataTemplate
<itemsControl>
  <itemsControl.ItemTemplate>
    singleDataTemplate
  </itemsControl.ItemTemplate>
</itemsControl>
Property Value

The template that specifies the visualization of the data objects. The default is null.