Gets or sets the template that defines the panel that controls the layout of items.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property ItemsPanel As System.Windows.Controls.ItemsPanelTemplate |
| C# | |
|---|
public System.Windows.Controls.ItemsPanelTemplate ItemsPanel {get; set;} |
Property Value
An
System.Windows.Controls.ItemsPanelTemplate that defines the panel to use for the layout of the items. The default value for the
System.Windows.Controls.ItemsControl is an
System.Windows.Controls.ItemsPanelTemplate that specifies a
System.Windows.Controls.StackPanel.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also