private void GraphicsLayer_MouseEnter(object sender, GraphicMouseEventArgs args)
 {
     QueryDetailsDataGrid.Focus();
     QueryDetailsDataGrid.SelectedItem  = args.Graphic;
     QueryDetailsDataGrid.CurrentColumn = QueryDetailsDataGrid.Columns[0];
     QueryDetailsDataGrid.ScrollIntoView(QueryDetailsDataGrid.SelectedItem, QueryDetailsDataGrid.Columns[0]);
 }
 private void GraphicsLayer_MouseLeave(object sender, GraphicMouseEventArgs args)
 {
     QueryDetailsDataGrid.Focus();
     QueryDetailsDataGrid.SelectedItem = null;
 }