Implemented interface member:
11 references to Count
PresentationFramework (11)
System\Windows\Controls\DataGrid.cs (10)
4176(_selectedCells.Count > 1)) // There is more than one selected cell 4230if (((_pendingSelectedCells != null) && (_pendingSelectedCells.Count > 0)) || 4231((_pendingUnselectedCells != null) && (_pendingUnselectedCells.Count > 0))) 4237int currentSelectionCount = _selectedCells.Count; 4238int unselectedCellCount = (_pendingUnselectedCells != null) ? _pendingUnselectedCells.Count : 0; 4239int selectedCellCount = (_pendingSelectedCells != null) ? _pendingSelectedCells.Count : 0; 4360if (_selectedCells.Count > 0) 4547int numCells = cells.Count; 4938if (_selectedCells.Count > 0) 8205args.CanExecute = ClipboardCopyMode != DataGridClipboardCopyMode.None && _selectedCells.Count > 0;
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
382ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index, Count);