DataGridViewHeaderCell::ReadOnly Property

 

Gets a value indicating whether the header cell is read-only.

Namespace:   System.Windows.Forms
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;
}

Property Value

Type: System::Boolean

true in all cases.

Exception Condition
InvalidOperationException

An operation tries to set this property.

.NET Framework
Available since 2.0
Return to top
Show: