I used to validate the presence of the scrollbars in the DataGridView by doing this:
var scrollBar = gvBrand.Controls.OfType<VScrollBar>().First();
but with the RadGridView I'm unable to do this...
Is there an alternative ?
Thank you
2 Answers, 1 is accepted
0
Accepted
Stefan
Telerik team
answered on 26 Jul 2013, 05:26 AM
Hi Nuno,
Thank you for writing.
You can use the following properties to determine the visibility of scrollbar(s) in RadGridView:
radGridView1.TableElement.VScrollBar.Visibility
radGridView1.TableElement.HScrollBar.Visibility
I hope this helps.
Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>