DataGridCell.IsSelected Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.