I need to be able to determine which column the user's mouse was in when they doubleclicked a grid row. How can I do this?
Yes.
One way to do this would be to use the MouseDown event and store the coordinates, since the Doubleclick events don't give you coords.
But there is an even easier way. Instead of using ElementFromPoint, just use LastElementEntered.
Is there a way I can get to it from the DoubleClickRow event?
Depending on which event you handle, you might have to get the cirsor position differently, but this is the gist:
Example:UltraGrid control = sender as UltraGrid;UIElement controlElement = control.DisplayLayout.UIElement;UIElement elementAtPoint = controlElement != null ? controlElement.ElementFromPoint( e.Location ) : null;UltraGridColumn column = elementAtPoint.GetContext( typeof(UltraGridColumn) ) as UltraGridColumn;