Link to home
Start Free TrialLog in
Avatar of dwknight
dwknight

asked on

VB.Net Datagridview equivalent property for VB6 msflexgrid.isrowvisible

I am in the process of migrating a VB6 application to VB.NET 2005.
I am migrating from a flexgrid control in VB6 to a VB.NET datagridview control.
Is there a datagridview property to return / evaluate the last visible row on a datagridview?
The current property I use in VB6 the msflexgrid control is the .isrowvisible property.

Thanks for the help

Avatar of Abaraj
Abaraj

Avatar of dwknight

ASKER

Thanks Abarj, but I wanted to migrate completely to VB.NET technology - specifically the datagridview control.
I wanted to amend the previous statement - I have a project requirement to use the datagridview control.
In datagridview you would use the visible property.
If true is visible if false is not.
ASKER CERTIFIED SOLUTION
Avatar of 13598
13598
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you want to loop through the rows you can do something like:
For Each myRow As DataGridViewRow In Me.DataGridView1.Rows
if  myRow .visible then
else
end if
next
Your suggestion has solved my problem. Thank you for your help!