DataGridViewHeaderCell.Selected 属性

定义

获取或设置一个值,该值指示是否选定此单元格。Gets or sets a value indicating whether the cell is selected.

public:
 virtual property bool Selected { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public override bool Selected { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Selected : bool with get, set
Public Overrides Property Selected As Boolean

属性值

Boolean

在所有情况下均为 falsefalse in all cases.

属性

例外

正在设置此属性。This property is being set.

注解

此属性对标头单元格无意义。This property is not meaningful for header cells.

适用于

另请参阅