26 references to Count
PresentationCore (26)
MS\Internal\Span.cs (15)
229
if (
Count
> 0
230
&& equals(_spans[
Count
-1].element, element))
233
_spans[
Count
- 1].length += length;
236
if (fs ==
Count
)
252
while ( ls <
Count
292
if ( ls <
Count
304
if (ls >=
Count
)
312
if (
Count
!= fs + 2)
323
if (
Count
!= fs + 1)
426
if (targetCount >
Count
)
428
for (int c = 0; c < targetCount -
Count
; c++)
433
else if (targetCount <
Count
)
435
DeleteInternal(targetCount,
Count
- targetCount);
480
return _current < _spans.
Count
? true : false;
606
get { return _spanPosition.Index >= _spans.
Count
? _spans.Default : _spans[_spanPosition.Index].element; }
MS\Internal\TextFormatting\FullTextLine.cs (1)
2068
for (int i = 0; i < _plsrunVector.
Count
&& cchLeft > 0; i++)
MS\Internal\TextFormatting\FullTextState.cs (1)
385
} while ( ++i < plsrunVector.
Count
MS\Internal\TextFormatting\TextRunCacheImp.cs (2)
59
for (int i = 0; i < _textRunVector.
Count
; i++)
313
TextSpan<TextRun>[] textRunList = new TextSpan<TextRun>[_textRunVector.
Count
];
MS\Internal\TextFormatting\TextStore.cs (7)
893
for(int i = 0; i < runInfoVector.
Count
; i++)
930
if ((++i) >= runInfoVector.
Count
)
950
Bidi.Flags flags = (i < runInfoVector.
Count
) ?
1058
for (int i = 0, cp = 0, lscp = 0; i < _plsrunVector.
Count
; ++i)
1073
_plsrunVector.Delete(i + 1, _plsrunVector.
Count
- (i + 1), ref _plsrunVectorLatestPosition);
1116
for (int i = 0; i < runInfoVector.
Count
&& ichRun < cchToAdd; ++i)
1947
Debug.Assert(i < _plsrunVector.
Count
);