By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,715 Members | 1,219 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,715 IT Pros & Developers. It's quick & easy.

Data Grid Is Vertical Scroll Visible

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

For Each ctrl As Control In DataGrid1.Controls

If TypeOf ctrl Is VScrollBar Then

Trace.WriteLine(ctrl.Visible)

End If

Next

Ken

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

"Doug Bell" <dug@bigpond> wrote in message
news:uF**************@TK2MSFTNGP10.phx.gbl...
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

Nov 21 '05 #2

P: n/a
Thanks Ken

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hi,

For Each ctrl As Control In DataGrid1.Controls

If TypeOf ctrl Is VScrollBar Then

Trace.WriteLine(ctrl.Visible)

End If

Next

Ken

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

"Doug Bell" <dug@bigpond> wrote in message
news:uF**************@TK2MSFTNGP10.phx.gbl...
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

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.