Gets or sets a collection used to generate the content of the ItemsControl.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Metadata properties set to true
Content Model: This property may be used to add items to an ItemsControl.
A common scenario is to use an ItemsControl such as a ListBox, ListView, or TreeView to display a data collection, or to bind an ItemsControl to a collection object. To bind an ItemsControl to a collection object, use the property. Note that the property supports OneWay binding by default.
When the property is set, the Items collection is made read-only and fixed-size.
When is in use, setting the property to null removes the collection and restores usage to Items, which will be an empty ItemCollection. When is not in use, the value of this property is null, and setting it to null has no effect.