Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataGridViewHeaderCell.Frozen Property

Gets a value indicating whether the cell is frozen.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override bool Frozen { get; }

Property Value

Type: System.Boolean
true if the cell is frozen; otherwise, false. The default is false if the cell is detached from a DataGridView.

The Frozen property is true if the cell belongs to a frozen row or column, or if the cell is the top-left header cell. A cell, row, or column is frozen when its State property has a value of DataGridViewElementStates.Frozen

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft