DataGridViewCell.Frozen 属性

定义

获取指示单元格是否已被冻结的值。Gets a value indicating whether the cell is frozen.

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

属性值

如果该单元格已被冻结,则为 true;否则为 falsetrue if the cell is frozen; otherwise, false.

属性

注解

Frozen 属性的值取决于单元格的父行和列的状态。The value of the Frozen property depends on the state of the cell's parent row and column. 如果行或列的 Frozen 属性设置为 true,则还将 true单元格的 Frozen 属性。If the Frozen property of either the row or column is set to true, the cell's Frozen property will also be true.

适用于

另请参阅