18 references to SymbolCount
PresentationFramework (18)
MS\Internal\PtsHost\BackgroundFormatInfo.cs (1)
52
_cchAllText = _structuralCache.TextContainer.
SymbolCount
;
MS\Internal\PtsHost\TextParagraph.cs (2)
565
int textSize = StructuralCache.TextContainer.
SymbolCount
;
746
int textSize = StructuralCache.TextContainer.
SymbolCount
;
System\Windows\Controls\FlowDocumentReader.cs (1)
1999
if (viewerState.ContentPosition <= textContainer.
SymbolCount
)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1925
if (viewerState.ContentPosition <= textContainer.
SymbolCount
)
System\Windows\Controls\SinglePageViewer.cs (1)
1559
if (viewerState.ContentPosition <= textContainer.
SymbolCount
)
System\Windows\Controls\TextBox.cs (10)
155
int maxStart = TextContainer.
SymbolCount
;
260
ArgumentOutOfRangeException.ThrowIfGreaterThan(charIndex, this.TextContainer.
SymbolCount
);
432
ArgumentOutOfRangeException.ThrowIfGreaterThan(charIndex, this.TextContainer.
SymbolCount
);
441
if (trailingEdge && charIndex < this.TextContainer.
SymbolCount
)
476
ArgumentOutOfRangeException.ThrowIfGreaterThan(charIndex, this.TextContainer.
SymbolCount
);
481
if (spellingError == null && charIndex < this.TextContainer.
SymbolCount
- 1)
547
ArgumentOutOfRangeException.ThrowIfGreaterThan(charIndex, this.TextContainer.
SymbolCount
);
549
if (this.TextContainer.
SymbolCount
== 0)
849
int maxStart = TextContainer.
SymbolCount
;
912
return GetLineIndexFromCharacterIndex(this.TextContainer.
SymbolCount
) + 1;
System\Windows\Documents\TextContainer.cs (2)
154
return ("TextContainer Id=" + _debugId + " SymbolCount=" + this.
SymbolCount
);
1797
return this.
SymbolCount
;