26 references to Count
PresentationCore (26)
MS\Internal\Span.cs (15)
233
if (
Count
> 0
234
&& equals(_spans[
Count
-1].element, element))
237
_spans[
Count
- 1].length += length;
240
if (fs ==
Count
)
256
while ( ls <
Count
296
if ( ls <
Count
308
if (ls >=
Count
)
316
if (
Count
!= fs + 2)
327
if (
Count
!= fs + 1)
430
if (targetCount >
Count
)
432
for (int c = 0; c < targetCount -
Count
; c++)
437
else if (targetCount <
Count
)
439
DeleteInternal(targetCount,
Count
- targetCount);
484
return _current < _spans.
Count
? true : false;
610
get { return _spanPosition.Index >= _spans.
Count
? _spans.Default : _spans[_spanPosition.Index].element; }
MS\Internal\TextFormatting\FullTextLine.cs (1)
2082
for (int i = 0; i < _plsrunVector.
Count
&& cchLeft > 0; i++)
MS\Internal\TextFormatting\FullTextState.cs (1)
390
} while ( ++i < plsrunVector.
Count
MS\Internal\TextFormatting\TextRunCacheImp.cs (2)
74
for (int i = 0; i < _textRunVector.
Count
; i++)
328
TextSpan<TextRun>[] textRunList = new TextSpan<TextRun>[_textRunVector.
Count
];
MS\Internal\TextFormatting\TextStore.cs (7)
909
for(int i = 0; i < runInfoVector.
Count
; i++)
946
if ((++i) >= runInfoVector.
Count
)
966
Bidi.Flags flags = (i < runInfoVector.
Count
) ?
1074
for (int i = 0, cp = 0, lscp = 0; i < _plsrunVector.
Count
; ++i)
1089
_plsrunVector.Delete(i + 1, _plsrunVector.
Count
- (i + 1), ref _plsrunVectorLatestPosition);
1132
for (int i = 0; i < runInfoVector.
Count
&& ichRun < cchToAdd; ++i)
1963
Debug.Assert(i < _plsrunVector.
Count
);