27 references to Count
PresentationCore (27)
Core\CSharp\MS\Internal\Span.cs (15)
234
if (
Count
> 0
235
&& equals(_spans[
Count
-1].element, element))
238
_spans[
Count
- 1].length += length;
241
if (fs ==
Count
)
257
while ( ls <
Count
297
if ( ls <
Count
309
if (ls >=
Count
)
317
if (
Count
!= fs + 2)
328
if (
Count
!= fs + 1)
431
if (targetCount >
Count
)
433
for (int c = 0; c < targetCount -
Count
; c++)
438
else if (targetCount <
Count
)
440
DeleteInternal(targetCount,
Count
- targetCount);
485
return _current < _spans.
Count
? true : false;
611
get { return _spanPosition.Index >= _spans.
Count
? _spans.Default : _spans[_spanPosition.Index].element; }
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
2118
for (int i = 0; i < _plsrunVector.
Count
&& cchLeft > 0; i++)
Core\CSharp\MS\Internal\TextFormatting\FullTextState.cs (1)
411
} while ( ++i < plsrunVector.
Count
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
77
for (int i = 0; i < _textRunVector.
Count
; i++)
334
IList<TextSpan<TextRun>> textRunList = new List<TextSpan<TextRun>>(_textRunVector.
Count
);
336
for (int i = 0; i < _textRunVector.
Count
; i++)
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (7)
920
for(int i = 0; i < runInfoVector.
Count
; i++)
957
if ((++i) >= runInfoVector.
Count
)
977
Bidi.Flags flags = (i < runInfoVector.
Count
) ?
1085
for (int i = 0, cp = 0, lscp = 0; i < _plsrunVector.
Count
; ++i)
1100
_plsrunVector.Delete(i + 1, _plsrunVector.
Count
- (i + 1), ref _plsrunVectorLatestPosition);
1143
for (int i = 0; i < runInfoVector.
Count
&& ichRun < cchToAdd; ++i)
1971
Debug.Assert(i < _plsrunVector.
Count
);