public DataGridCell GetCell(int row, int column) { DataGridRow rowContainer = GetRow(row); if (rowContainer != null) { DataGridCellsPresenter presenter = Executer.GetVisualChild <DataGridCellsPresenter>(rowContainer); if (presenter == null) { datagrid.ScrollIntoView(rowContainer, datagrid.Columns[column]); presenter = Executer.GetVisualChild <DataGridCellsPresenter>(rowContainer); } DataGridCell cell = (DataGridCell)presenter.ItemContainerGenerator.ContainerFromIndex(column); return(cell); } return(null); }