Implemented interface member:
property
Count
System.Collections.Generic.ICollection<T>.Count
11 references to Count
PresentationFramework (11)
src\Framework\System\Windows\Controls\DataGrid.cs (10)
4217
(_selectedCells.
Count
> 1)) // There is more than one selected cell
4271
if (((_pendingSelectedCells != null) && (_pendingSelectedCells.
Count
> 0)) ||
4272
((_pendingUnselectedCells != null) && (_pendingUnselectedCells.
Count
> 0)))
4278
int currentSelectionCount = _selectedCells.
Count
;
4279
int unselectedCellCount = (_pendingUnselectedCells != null) ? _pendingUnselectedCells.
Count
: 0;
4280
int selectedCellCount = (_pendingSelectedCells != null) ? _pendingSelectedCells.
Count
: 0;
4404
if (_selectedCells.
Count
> 0)
4594
int numCells = cells.
Count
;
4991
if (_selectedCells.
Count
> 0)
8264
args.CanExecute = ClipboardCopyMode != DataGridClipboardCopyMode.None && _selectedCells.
Count
> 0;
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
387
if ((index >= 0) && (index <
Count
))