This question is locked. New answers and comments are not allowed.
I'm using the RadGridView Silverlight control and I have 10,000 records in the view.
I have virtualization turned on.
ScrollMode="RealTime" //this is a requirement.
When I click the scroll bar and hold it down for 10 seconds and then let it go, it continues to scroll for at least 10 more seconds.
I need it to stop as soon as the mouse button comes up. I've tried to hook into the ScrollChangedEvent with no sucess in hopes that I could stop some of the wound up events but the event never fires.
I have virtualization turned on.
ScrollMode="RealTime" //this is a requirement.
When I click the scroll bar and hold it down for 10 seconds and then let it go, it continues to scroll for at least 10 more seconds.
I need it to stop as soon as the mouse button comes up. I've tried to hook into the ScrollChangedEvent with no sucess in hopes that I could stop some of the wound up events but the event never fires.
GridViewScrollViewer scrollViewer = DataGrid.ChildrenOfType<GridViewScrollViewer>().FirstOrDefault();
//scrollViewer is always null
if (scrollViewer != null)
{
scrollViewer.ScrollChanged +=
new ScrollChangedEventHandler(scrollViewer_ScrollChanged);
}
}
void scrollViewer_ScrollChanged(object sender, ScrollChangedEventArgs e)
{
//never fires.
}