Redigera

Dela via


DataGridViewHeaderCell.Frozen Property

Definition

Gets a value indicating whether the cell is frozen.

public:
 virtual property bool Frozen { bool get(); };
[System.ComponentModel.Browsable(false)]
public override bool Frozen { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Frozen : bool
Public Overrides ReadOnly Property Frozen As Boolean

Property Value

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

Attributes

Remarks

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

Applies to

See also