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; }
[<System.ComponentModel.Browsable(false)>]
member this.Frozen : bool
Public Overridable ReadOnly Property Frozen As Boolean

属性值

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 ,则该单元格的 Frozen 属性也将为 trueIf the Frozen property of either the row or column is set to true, the cell's Frozen property will also be true.

适用于

另请参阅