RowStyleSelector Property
Collapse the table of content
Expand the table of content

DataGrid.RowStyleSelector Property

.NET Framework 4.6 and 4.5

Gets or sets the style selector for the rows.

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

public StyleSelector RowStyleSelector { get; set; }

Property Value

Type: System.Windows.Controls.StyleSelector

The style selector for the rows. The registered default is null. For more information about what can influence the value, see DependencyProperty.

If this property has a non-null value, it will override the value of the ItemContainerStyleSelector property.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft