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