scroll bar in data grid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I am displaying one row in a datagrid, and i made its height larger than the
datagrid height because it contains long descriptions, so a vertical scroll
bar appears but with no cursor on it to let me move down the grid.
How can i have access to the datagrid scrollbar?
or what else can i do?

Thank you.
 
Try this:

VScrollBar vBar =
dataGrid.GetType()­.GetField("m_sbVert",
BindingFlags.NonPublic | BindingFlags.Instance).GetValu­e(dataGrid) as
VScrollBar;
 
Back
Top