DataGrid for WPF and Silverlight Overview > DataGrid Features > DataGrid Appearance > Table Formatting Options > Setting Row Details Visibility |
By default row details are collapsed and not visible. You can use the RowDetailsVisibilityMode property to set if and when row details are visible. You can set the RowDetailsVisibilityMode property to one of the following options:
Option | Description |
---|---|
VisibleWhenSelected | Row details are only visible when selected. |
Visible | Row details are always visible. |
Collapsed (default) | Row details appear collapsed and are not visible. |