you look:
----------------------------
1、http://expert.csdn.net/Expert/topic/2104/2104697.xml?temp=.9809381
2、http://expert.csdn.net/Expert/topic/2022/2022263.xml?temp=.3342859

解决方案 »

  1.   

    1. 
       const SW_HIDE = 0; 
       const SW_SHOW = 5;   [DllImport("user32.dll", CharSet=CharSet.Auto)]
       static public extern bool ShowWindow(IntPtr hWnd, ShowWindowStyles State);
       [DllImport("user32.dll", CharSet=CharSet.Auto)]
       static public extern IntPtr FindWindow(string className,string CaptinText);   public void ShowTaskBar(bool show)
       {
           IntPtr hwnd = FindWindow("Shell_TrayWnd", null);
           if(show)
               ShowWindow(hwnd,SW_SHOW);
           else
               ShowWindow(hwnd,SW_HIDE);
       }2. 在放置DataGrid之前放一Panel在底下,然後吧Panel的AutoScroll設置為true