Share via


CollectionViewSource.ItemsPath Property

Definition

Gets or sets the property path to follow from the top level item to find groups within the CollectionViewSource.

public:
 property PropertyPath ^ ItemsPath { PropertyPath ^ get(); void set(PropertyPath ^ value); };
PropertyPath ItemsPath();

void ItemsPath(PropertyPath value);
public PropertyPath ItemsPath { get; set; }
var propertyPath = collectionViewSource.itemsPath;
collectionViewSource.itemsPath = propertyPath;
Public Property ItemsPath As PropertyPath
<CollectionViewSource ItemsPath="propertyPathString" .../>

Property Value

The property path to follow from the top level item to find groups. The default is a PropertyPath created from an empty string. This path implies that the object itself is the collection.

Applies to

See also