If you have a MouseEventHandler for UltraGrid, you can do the following:
UltraGrid grid = (UltraGrid)sender;
UIElement element = grid.DisplayLayout.UIElement.ElementFromPoint(new Point(e.X, e.Y));
Then you can drop the element depending on its expected type with element.GetContext ():
UltraGridCell cell = (UltraGridCell)element.GetContext(typeof(UltraGridCell));
source
share