DataGridViewCell.Displayed 属性

定义

获取一个值,该值指示当前该单元格是否显示在屏幕上。Gets a value that indicates whether the cell is currently displayed on-screen.

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

属性值

如果单元格显示在屏幕上或部分显示在屏幕上,则为 true;否则为 falsetrue if the cell is on-screen or partially on-screen; otherwise, false.

属性

注解

使用此属性来确定特定单元格是否已滚动到屏幕之外。Use this property to determine whether a particular cell has been scrolled off-screen.

如果该单元格的 Visible 属性值为 false,则此属性也将返回 falseIf the cell's Visible property value is false, this property will return false as well.

适用于

另请参阅