DataRecord dataRecord = (DataRecord)dataGrid.Records[0];
dataRecord.IsExpanded = IsExpanded;
I set the IsExpanded property in the data record when I load a setup file. It used to work but now it just shows it is expanded with no children. I have to unexpand and then reexpand to show the children.
Am I doing this wrong?