IsSelected Property

DataGridRow.IsSelected Property

.NET Framework 4.6 and 4.5

Gets or sets a value that indicates whether the row is selected.

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

public bool IsSelected { get; set; }

Property Value

Type: System.Boolean

true if the row is selected; otherwise, false. The registered default is false. For information about what can influence the value, see DependencyProperty.

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