26 references to Count
PresentationCore (26)
MS\Internal\Span.cs (15)
230if ( Count > 0 231&& equals(_spans[Count-1].element, element)) 234_spans[Count - 1].length += length; 237if (fs == Count) 253while ( ls < Count 293if ( ls < Count 305if (ls >= Count) 313if (Count != fs + 2) 324if (Count != fs + 1) 427if (targetCount > Count) 429for (int c = 0; c < targetCount - Count; c++) 434else if (targetCount < Count) 436DeleteInternal(targetCount, Count - targetCount); 481return _current < _spans.Count ? true : false; 607get { return _spanPosition.Index >= _spans.Count ? _spans.Default : _spans[_spanPosition.Index].element; }
MS\Internal\TextFormatting\FullTextLine.cs (1)
2069for (int i = 0; i < _plsrunVector.Count && cchLeft > 0; i++)
MS\Internal\TextFormatting\FullTextState.cs (1)
386} while ( ++i < plsrunVector.Count
MS\Internal\TextFormatting\TextRunCacheImp.cs (2)
60for (int i = 0; i < _textRunVector.Count; i++) 314TextSpan<TextRun>[] textRunList = new TextSpan<TextRun>[_textRunVector.Count];
MS\Internal\TextFormatting\TextStore.cs (7)
894for(int i = 0; i < runInfoVector.Count; i++) 931if ((++i) >= runInfoVector.Count) 951Bidi.Flags flags = (i < runInfoVector.Count) ? 1059for (int i = 0, cp = 0, lscp = 0; i < _plsrunVector.Count; ++i) 1074_plsrunVector.Delete(i + 1, _plsrunVector.Count - (i + 1), ref _plsrunVectorLatestPosition); 1117for (int i = 0; i < runInfoVector.Count && ichRun < cchToAdd; ++i) 1948Debug.Assert(i < _plsrunVector.Count);