17 references to SymbolCount
PresentationFramework (17)
src\Framework\MS\Internal\PtsHost\BackgroundFormatInfo.cs (1)
58_cchAllText = _structuralCache.TextContainer.SymbolCount;
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (2)
592int textSize = StructuralCache.TextContainer.SymbolCount; 777int textSize = StructuralCache.TextContainer.SymbolCount;
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
2046if (viewerState.ContentPosition <= textContainer.SymbolCount)
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1979if (viewerState.ContentPosition <= textContainer.SymbolCount)
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
1571if (viewerState.ContentPosition <= textContainer.SymbolCount)
src\Framework\System\Windows\Controls\TextBox.cs (10)
174int maxStart = TextContainer.SymbolCount; 280if (charIndex < 0 || charIndex > this.TextContainer.SymbolCount) 460if (charIndex < 0 || charIndex > this.TextContainer.SymbolCount) 472if (trailingEdge && charIndex < this.TextContainer.SymbolCount) 506if (charIndex < 0 || charIndex > this.TextContainer.SymbolCount) 514if (spellingError == null && charIndex < this.TextContainer.SymbolCount - 1) 579if (charIndex < 0 || charIndex > this.TextContainer.SymbolCount) 584if (this.TextContainer.SymbolCount == 0) 890int maxStart = TextContainer.SymbolCount; 953return GetLineIndexFromCharacterIndex(this.TextContainer.SymbolCount) + 1;
src\Framework\System\Windows\Documents\TextContainer.cs (1)
1824return this.SymbolCount;