RowDetailsVisibilityMode Property
TOC
Collapse the table of content
Expand the table of content

DataGrid.RowDetailsVisibilityMode Property

 

Gets or sets a value that indicates when the details section of a row is displayed.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public Property RowDetailsVisibilityMode As DataGridRowDetailsVisibilityMode

Property Value

Type: System.Windows.Controls.DataGridRowDetailsVisibilityMode

One of the enumeration values that specifies the visibility of row details. The registered default is VisibleWhenSelected. For more information about what can influence the value, see DependencyProperty.

By default, the row details section is displayed for selected rows if a RowDetailsTemplate is defined. Set this property to Visible to show the details for all rows or Collapsed to hide the details for all rows.

The RowDetailsVisibilityChanged event occurs when this property is changed.

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Return to top
Show:
© 2016 Microsoft