Язык

CollectionViewSource.ItemsPath Свойство

Определение

Возвращает или задает путь к свойству, который следует из элемента верхнего уровня, чтобы найти группы в 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" .../>

Значение свойства

Путь к свойству для поиска групп из элемента верхнего уровня. Значение по умолчанию — свойство PropertyPath , созданное из пустой строки. Этот путь подразумевает, что сам объект является коллекцией.

Применяется к

См. также раздел