Data Grid Is Vertical Scroll Visible

  • Thread starter Thread starter Doug Bell
  • Start date Start date
D

Doug Bell

Hi,

I have a DataGrid based on a DataView

I am trying to determine if the Vertical Scroll Bar is visible?

I can't find a property to return its state.
Is there a way to do this and if so could you point me in the right
direction?

Thanks

Doug
 
Hi,

For Each ctrl As Control In DataGrid1.Controls

If TypeOf ctrl Is VScrollBar Then

Trace.WriteLine(ctrl.Visible)

End If

Next



Ken

-----------------------

Hi,

I have a DataGrid based on a DataView

I am trying to determine if the Vertical Scroll Bar is visible?

I can't find a property to return its state.
Is there a way to do this and if so could you point me in the right
direction?

Thanks

Doug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top