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:
[BrowsableAttribute(false)]
property bool Frozen {
	virtual bool get() override;
}

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
Available since 2.0
Return to top
Show: