CollectionViewSource.ItemsPath Eigenschaft

Definition

Ruft den Eigenschaftenpfad ab, dem das Element der obersten Ebene folgen soll, um Gruppen innerhalb der CollectionViewSource zu suchen, oder legt diesen fest.

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" .../>

Eigenschaftswert

Der Eigenschaftenpfad, dem aus dem Element der obersten Ebene folgen soll, um Gruppen zu finden. Der Standardwert ist ein PropertyPath, der aus einer leeren Zeichenfolge erstellt wird. Dieser Pfad impliziert, dass das Objekt selbst die Auflistung ist.

Gilt für:

Weitere Informationen