标签:new lin int send att end event data div
ScrollViewer scroll; private void GridView_ScrollChanged(object sender, RoutedEventArgs e) { if (scroll == null) { DataGridAutomationPeer lvap = new DataGridAutomationPeer(sender as DataGrid); var svap = lvap.GetPattern(PatternInterface.Scroll) as ScrollViewerAutomationPeer; ScrollViewer scroll = svap.Owner as ScrollViewer; scroll.ScrollToBottom(); } }
标签:new lin int send att end event data div
原文地址:http://www.cnblogs.com/oiliu/p/7831587.html