15 references to AddRegion
PresentationFramework (15)
src\Framework\System\Windows\Controls\DataGrid.cs (12)
2199
_selectedCells.
AddRegion
(rowIndex, columnIndexRanges[i], 1, columnIndexRanges[i + 1]);
2255
_selectedCells.
AddRegion
(newItemIndex, columnIndexRanges[i], 1, columnIndexRanges[i + 1]);
3723
_selectedCells.
AddRegion
(rowIndex, columnIndexRanges[i], 1, columnIndexRanges[i + 1]);
4371
_selectedCells.
AddRegion
(0, 0, numItems, numColumns);
4409
_selectedCells.
AddRegion
(0, 0, numItems, numColumns);
4685
_selectedCells.
AddRegion
(rowIndex, 0, 1, columnCount);
4975
_selectedCells.
AddRegion
(startIndex, 0, endIndex - startIndex + 1, _columns.Count);
5011
_selectedCells.
AddRegion
(_editingRowInfo.Index, 0, 1, numColumns);
5140
_selectedCells.
AddRegion
(Math.Min(startIndex, endIndex), Math.Min(startColumnIndex, endColumnIndex), newRowCount, newColumnCount);
5191
_selectedCells.
AddRegion
(_editingRowInfo.Index, cellInfoColumnIndex, 1, 1);
5220
_selectedCells.
AddRegion
(itemIndex, 0, 1, numColumns);
7794
_selectedCells.
AddRegion
(info.Index, 0, 1, columnCount);
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (3)
98
AddRegion
(rowIndex, columnIndex, 1, 1);
1363
AddRegion
(region.Top, region.Left, region.Height, region.Width);
1447
AddRegion
(range.Item1, 0, range.Item2, numColumns);