[]
The details part can be automatically opened when the row is selected, can be always visible, or can be always collapsed.
public DataGridRowDetailsVisibilityMode RowDetailsVisibilityMode { get; set; }
The details can be expanded by code using the property DetailsVisibility in the DataGridRow, or manually by pressing the toggle button located inside the row headers.