I currently have a static tree (using native WPF baml translation) created this way:
<pg:PropertyGrid.Items>
<pg:PropertyGridCategoryItem x:Uid="Meta.File" DisplayName="File" Description="Basic metadata of the filesystem object">
<pg:PropertyGridPropertyItem x:Uid="Meta.File.Name" DisplayName="Name" Value="{Binding Name}" />
<pg:PropertyGridPropertyItem x:Uid="Meta.File.Folder" DisplayName="Folder" Value="{Binding Path}" />
<pg:PropertyGridPropertyItem x:Uid="Meta.File.Size" DisplayName="Size" ValueType="{x:Type sys:Int64}" Value="{Binding Placeholder.Size}" />
<!-- ... -->
</pg:PropertyGridCategoryItem>
<pg:PropertyGridCategoryItem x:Uid="Meta.Img" DisplayName="Image" Description="Image details of the 'selected' frame"
DataContext="{Binding ImageInfo}" d:DataContext="{d:DesignInstance local:ImageDetails}">
<pg:PropertyGridPropertyItem x:Uid="Meta.Img.Basic.Frame" DisplayName="internal Frame/Scene #" Value="{Binding Key}" />
<pg:PropertyGridCategoryItem x:Uid="Meta.Img.Basic" DisplayName="Basic" Description="Basic image details (present for every image)">
<pg:PropertyGridPropertyItem x:Uid="Meta.Img.Basic.Width" DisplayName="Width" Value="{Binding Width}" />
<pg:PropertyGridPropertyItem x:Uid="Meta.Img.Basic.Height" DisplayName="Height" Value="{Binding Height}" />
<!-- ... -->
</pg:PropertyGridCategoryItem>
<!-- ... -->
</pg:PropertyGridCategoryItem>
<!-- ... -->
</pg:PropertyGrid.Items>
The entire documentation does not contain the word "PropertyGridCategoryItem". The migration topic mentions to replace PropertyGridPropertyItem with PropertyModel, but I had no luck in building a tree this way (just get Exception about adding to System.Windows.Controls.ItemCollection because ItemsSource is used (not by me)):
<pg:PropertyGrid.Items>
<pg:PropertyModel x:Uid="Meta.File" DisplayName="File" Description="Basic metadata of the filesystem object">
<pg:PropertyModel.Children>
<pg:PropertyModel x:Uid="Meta.File.Name" DisplayName="Name" Value="{Binding NormalizedName, Mode=OneWay}" />