DataGridViewHeaderCell::ReadOnly Property
.NET Framework (current version)
Gets a value indicating whether the header cell is read-only.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property bool ReadOnly { virtual bool get() override; virtual void set(bool value) override; }
| Exception | Condition |
|---|---|
| InvalidOperationException | An operation tries to set this property. |
.NET Framework
Available since 2.0
Available since 2.0
Show: