DataGridViewHeaderCell.ReadOnly 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會取得一個值,表示標頭儲存格是否為唯讀。
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
屬性值
true 無論哪種情況。
- 屬性
例外狀況
一個操作嘗試設定這個屬性。