Follow the steps below to create and configure Pivot Grid fields.
TreeViewItem.IsExpanded with {x:Bind ..., Mode=TwoWay} does not work when used inside a TreeView.ItemTemplate. The binding from ViewModel → View is ignored — programmatically setting the bound ...