This example demonstrates how to customize displayed properties in XAML by adding the required Property Definitions and Collection Definitions objects to the PropertyGridControl.
There are several properties you can use to map PropertyDefinition objects to properties:
Path - the path to the property;
Scope - the path to the parent property;
Type - the type of the property.
To learn more on this functionality, refer to Property Definitions.
Note that we have set the PropertyGridControl.ShowProperties property to ‘WithPropertyDefinitions’ to show only properties for defined definitions. You can remove this setter to be able to see all object properties.