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)

[BrowsableAttribute(false)]
public override bool ReadOnly { get; set; }

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: