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