5 implementations of SymbolCount
PresentationFramework (5)
System\Windows\Controls\PasswordTextContainer.cs (1)
486int ITextContainer.SymbolCount
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
292int ITextContainer.SymbolCount
System\Windows\Documents\FixedTextContainer.cs (1)
261int ITextContainer.SymbolCount
System\Windows\Documents\NullTextContainer.cs (1)
257int ITextContainer.SymbolCount
System\Windows\Documents\TextContainer.cs (1)
1793int ITextContainer.SymbolCount
13 references to SymbolCount
PresentationFramework (13)
MS\Internal\Documents\TextBoxView.cs (2)
819else if (position.Offset == _host.TextContainer.SymbolCount && direction == LogicalDirection.Forward) 1895int endOffset = Math.Min(range.StartIndex + range.PositionsAdded, _host.TextContainer.SymbolCount);
MS\Internal\Documents\TextContainerHelper.cs (5)
27Invariant.Assert(cpLast <= textContainer.SymbolCount); 570length = textContainer.SymbolCount; 635cp = textContainer.SymbolCount; 667cp = (edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterStart) ? 0 : textContainer.SymbolCount; 688cch = textContainer.SymbolCount;
System\Windows\Documents\Speller.cs (2)
44if (_textEditor.TextContainer.SymbolCount > 0) 294if (_textEditor.TextContainer.SymbolCount > 0)
System\Windows\Documents\SpellerStatusTable.cs (2)
568if (e.ITextPosition.Offset + e.Count < e.ITextPosition.TextContainer.SymbolCount - 1) 766position = textContainer.CreateStaticPointerAtOffset(textContainer.SymbolCount);
System\windows\Documents\TextEditor.cs (1)
1176int currentLength = textContainer.SymbolCount - charsToReplaceCount;
System\Windows\Documents\TextStore.cs (1)
3816int currentLength = textContainer.SymbolCount - charsToReplaceCount;