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