Visual Basic (Declaration)
Public ReadOnly Property Items As ItemCollection
Dim instance As ItemsControl
Dim value As ItemCollection
value = instance.Items
public ItemCollection Items { get; }
public:
property ItemCollection^ Items {
ItemCollection^ get ();
}
public function get Items () : ItemCollection
XAML Object Element Usage
<object>
oneOrMoreFrameworkElements
</object>
- oneOrMoreFrameworkElements
One or more object elements for classes that derive from FrameworkElement.
Property Value
Type:
System.Windows.Controls..::.ItemCollection
The collection that is used to generate the content of the ItemsControl, if it exists; otherwise, nullNothingnullptra null reference (Nothing in Visual Basic). See Remarks. The default is an empty collection.