18 references to SymbolCount
PresentationFramework (18)
MS\Internal\PtsHost\BackgroundFormatInfo.cs (1)
54
_cchAllText = _structuralCache.TextContainer.
SymbolCount
;
MS\Internal\PtsHost\TextParagraph.cs (2)
586
int textSize = StructuralCache.TextContainer.
SymbolCount
;
770
int textSize = StructuralCache.TextContainer.
SymbolCount
;
System\Windows\Controls\FlowDocumentReader.cs (1)
2040
if (viewerState.ContentPosition <= textContainer.
SymbolCount
)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1965
if (viewerState.ContentPosition <= textContainer.
SymbolCount
)
System\Windows\Controls\SinglePageViewer.cs (1)
1564
if (viewerState.ContentPosition <= textContainer.
SymbolCount
)
System\Windows\Controls\TextBox.cs (10)
161
int maxStart = TextContainer.
SymbolCount
;
266
ArgumentOutOfRangeException.ThrowIfGreaterThan(charIndex, this.TextContainer.
SymbolCount
);
438
ArgumentOutOfRangeException.ThrowIfGreaterThan(charIndex, this.TextContainer.
SymbolCount
);
447
if (trailingEdge && charIndex < this.TextContainer.
SymbolCount
)
482
ArgumentOutOfRangeException.ThrowIfGreaterThan(charIndex, this.TextContainer.
SymbolCount
);
487
if (spellingError == null && charIndex < this.TextContainer.
SymbolCount
- 1)
553
ArgumentOutOfRangeException.ThrowIfGreaterThan(charIndex, this.TextContainer.
SymbolCount
);
555
if (this.TextContainer.
SymbolCount
== 0)
855
int maxStart = TextContainer.
SymbolCount
;
918
return GetLineIndexFromCharacterIndex(this.TextContainer.
SymbolCount
) + 1;
System\Windows\Documents\TextContainer.cs (2)
160
return ("TextContainer Id=" + _debugId + " SymbolCount=" + this.
SymbolCount
);
1809
return this.
SymbolCount
;