摘要:        
全部的实现代码非常简单。  XAML中一个DataGrid,捕获其MouseWheel事件,然后做如下处理(注意例子中的Person为绑定到DataGrid的集合类型):  private void dataGrid1_MouseWheel(object sender, MouseWheelEventArgs e) { if (!e.Handled) { int rowsToMove = e.De...    阅读全文
posted @ 2009-12-21 10:43
紫色永恒
阅读(908)
评论(4)
推荐(2)
        

浙公网安备 33010602011771号