DataGridViewHeaderCell.Selected DataGridViewHeaderCell.Selected DataGridViewHeaderCell.Selected DataGridViewHeaderCell.Selected Property

定义

获取或设置一个值,该值指示是否选定此单元格。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; }
member this.Selected : bool with get, set
Public Overrides Property Selected As Boolean

属性值

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

异常

注解

此属性不是有意义的标题单元格。This property is not meaningful for header cells.

适用于

另请参阅