astaga
asked on
how can i force the scrollbars on the datagrid to be always visible..
how can i force the scrollbars on the datagrid to be always visible.. i tried to do many things, but it always seems to hide after loading in the entire data from the datasource.
i tried this code, and also tried to use reflection, but none seems to work.
foreach(Control c in this.Controls)
{
Type aType = c.GetType();
if(aType == typeof(System.Windows.Form s.HScrollB ar))
((System.Windows.Forms.HSc rollBar)c) .Visible = true;
else if(aType == typeof(System.Windows.Form s.VScrollB ar))
((System.Windows.Forms.VSc rollBar)c) .Visible = true;
}
thanks in advance
i tried this code, and also tried to use reflection, but none seems to work.
foreach(Control c in this.Controls)
{
Type aType = c.GetType();
if(aType == typeof(System.Windows.Form
((System.Windows.Forms.HSc
else if(aType == typeof(System.Windows.Form
((System.Windows.Forms.VSc
}
thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.