# Row Details Visibility

The display mode of the **Row Details** can be specified by using the **RowDetailsVisibilityMode** property. It can have one of the following values:

* **Collapsed** - row details won't be displayed for any of the rows.

* **Visible** - row details will be displayed for each of the rows.

* **VisibleWhenSelected** - row details will be displayed only for the selected row.

Another approach for displaying the **Row Details** is to use the [GridViewToggleRowDetailsColumn](https://www.telerik.com/products/wpf/documentation/controls/radgridview/columns/columntypes/column-types-toggle-rowdetails-column). It will allow you to **expand / collapse** the **Row Details** for each row.

> You should either use the **RadGridView\.RowDetailsVisibilityMode** property to control the state of **all grid rows** or use a [GridViewToggleRowDetailsColumn](https://www.telerik.com/products/wpf/documentation/controls/radgridview/columns/columntypes/column-types-toggle-rowdetails-column) to control the state of **each individual row**. Since the **GridViewToggleRowDetailsColumn** operates on the respective **GridViewRow\.DetailsVisibilityProperty**, having a **RadGridView\.RowDetailsVisibilityMode** different from collapsed might lead to unexpected results. To learn more about this type of column read [here](https://www.telerik.com/products/wpf/documentation/controls/radgridview/columns/columntypes/column-types-toggle-rowdetails-column).

> tip Find a runnable project demonstrating the different options in our online [SDK repository](https://github.com/telerik/xaml-sdk/tree/master/GridView/RowDetailsVisibilityOptions). In addition to make finding and browsing the examples easier, you can take advantage of our [SDK Samples Browser](https://www.telerik.com/products/wpf/documentation/developer-focused-examples/sdk-samples-browser).

## See Also

* [RowDetails Overview](https://www.telerik.com/products/wpf/documentation/controls/radgridview/row-details/overview)

* [Toggle RowDetails Column](https://www.telerik.com/products/wpf/documentation/controls/radgridview/columns/columntypes/column-types-toggle-rowdetails-column)

* [Row Details Template](https://www.telerik.com/products/wpf/documentation/controls/radgridview/row-details/template)

* [Programming](https://www.telerik.com/products/wpf/documentation/controls/radgridview/row-details/programming)

* [Row Details TemplateSelector](https://www.telerik.com/products/wpf/documentation/controls/radgridview/row-details/templateselector)
