DataGridCell.IsSelected Property

.NET Framework (current version)
 

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

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

member IsSelected : bool with get, set

Property Value

Type: System.Boolean

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

The Selected event occurs when the IsSelected property is set to true.

The Unselected event occurs when the IsSelected property is set to false.

.NET Framework
Available since 4.0
Return to top
Show: