DataGridViewHeaderCell.ReadOnly 属性

定义

获取一个值,该值指示标头单元格是否为只读。Gets a value indicating whether the header cell is read-only.

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

属性值

Boolean

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

属性

例外

一项操作尝试设置此属性。An operation tries to set this property.

适用于

另请参阅