List::ListItems Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a ListItemCollection containing the ListItem elements that comprise the contents of the List.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property ListItemCollection^ ListItems {
	ListItemCollection^ get();
}

Property Value

Type: System.Windows.Documents::ListItemCollection^

A ListItemCollection containing the ListItem elements that comprise the contents of the List.

This property has no default value.

Use the ListItemCollection returned by this property to enumerate or manipulate the contents of a List element.

The following examples show how to perform common operations on a List using the ListItems property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: