18 references to SymbolCount
PresentationFramework (18)
MS\Internal\PtsHost\BackgroundFormatInfo.cs (1)
53
_cchAllText = _structuralCache.TextContainer.
SymbolCount
;
MS\Internal\PtsHost\TextParagraph.cs (2)
566
int textSize = StructuralCache.TextContainer.
SymbolCount
;
747
int textSize = StructuralCache.TextContainer.
SymbolCount
;
System\Windows\Controls\FlowDocumentReader.cs (1)
2036
if (viewerState.ContentPosition <= textContainer.
SymbolCount
)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1968
if (viewerState.ContentPosition <= textContainer.
SymbolCount
)
System\Windows\Controls\SinglePageViewer.cs (1)
1563
if (viewerState.ContentPosition <= textContainer.
SymbolCount
)
System\Windows\Controls\TextBox.cs (10)
156
int maxStart = TextContainer.
SymbolCount
;
261
ArgumentOutOfRangeException.ThrowIfGreaterThan(charIndex, this.TextContainer.
SymbolCount
);
433
ArgumentOutOfRangeException.ThrowIfGreaterThan(charIndex, this.TextContainer.
SymbolCount
);
442
if (trailingEdge && charIndex < this.TextContainer.
SymbolCount
)
477
ArgumentOutOfRangeException.ThrowIfGreaterThan(charIndex, this.TextContainer.
SymbolCount
);
482
if (spellingError == null && charIndex < this.TextContainer.
SymbolCount
- 1)
548
ArgumentOutOfRangeException.ThrowIfGreaterThan(charIndex, this.TextContainer.
SymbolCount
);
550
if (this.TextContainer.
SymbolCount
== 0)
850
int maxStart = TextContainer.
SymbolCount
;
913
return GetLineIndexFromCharacterIndex(this.TextContainer.
SymbolCount
) + 1;
System\Windows\Documents\TextContainer.cs (2)
155
return ("TextContainer Id=" + _debugId + " SymbolCount=" + this.
SymbolCount
);
1804
return this.
SymbolCount
;