14 references to TotalCount
PresentationFramework (14)
src\Framework\MS\Internal\Navigation\JournalEntryStack.cs (1)
118while ((_next >= 0) && (_next < _journal.TotalCount))
src\Framework\System\Windows\Navigation\Journal.cs (10)
147if (_currentEntryIndex >= 0 && _currentEntryIndex < TotalCount) 301if (_currentEntryIndex > -1 && _currentEntryIndex < TotalCount) 349if (_currentEntryIndex >= TotalCount) 460for (int i = 0; i < TotalCount; i++) 480for (int i = TotalCount - 1; i >= 0; --i) 508Debug.Assert(index < TotalCount && index >= 0, "Invalid index passed to RemoveEntryInternal"); 533for (int i = TotalCount - 1; i >= 0; i--) 605if (index >= TotalCount) 628return _currentEntryIndex >= 0 && _currentEntryIndex <= TotalCount 629&& _uncommittedCurrentIndex >= 0 && _uncommittedCurrentIndex <= TotalCount;
src\Framework\System\Windows\Navigation\NavigationService.cs (3)
4060if (parentIndex != _noParentPage && parentIndex < journal.TotalCount && !IsDisposed) 4075if (parentIndex < journal.TotalCount) 4154while (journalEntryIndex < journal.TotalCount)