Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public bool IsSelected { 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:
© 2016 Microsoft