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