語言

DataGridRow.IsSelected 屬性

定義

取得或設定一個值,表示該列是否被選取。

public:
 property bool IsSelected { bool get(); void set(bool value); };
[System.ComponentModel.Bindable(true)]
public bool IsSelected { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.IsSelected : bool with get, set
Public Property IsSelected As Boolean

屬性值

true若選取該列;否則,。 false 註冊預設為 false。 關於影響該值的因素,請參見 DependencyProperty。

屬性

適用於

另請參閱