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; }
[<System.ComponentModel.Browsable(false)>]
member this.Displayed : bool
Public Overridable ReadOnly Property Displayed As Boolean
属性值
如果单元格显示在屏幕上或部分显示在屏幕上,则为 true
;否则为 false
。true
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
,则此属性 false
也将返回。If the cell's Visible property value is false
, this property will return false
as well.