Bewerken

Delen via


DataGridCell.IsSelected Property

Definition

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

public:
 property bool IsSelected { bool get(); void set(bool value); };
public bool IsSelected { get; set; }
member this.IsSelected : bool with get, set
Public Property IsSelected As Boolean

Property Value

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

Remarks

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

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

Applies to

See also