5 implementations of SymbolCount
PresentationFramework (5)
System\Windows\Controls\PasswordTextContainer.cs (1)
490int ITextContainer.SymbolCount
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
309int ITextContainer.SymbolCount
System\Windows\Documents\FixedTextContainer.cs (1)
278int ITextContainer.SymbolCount
System\Windows\Documents\NullTextContainer.cs (1)
262int ITextContainer.SymbolCount
System\Windows\Documents\TextContainer.cs (1)
1805int ITextContainer.SymbolCount
13 references to SymbolCount
PresentationFramework (13)
MS\Internal\Documents\TextBoxView.cs (2)
864else if (position.Offset == _host.TextContainer.SymbolCount && direction == LogicalDirection.Forward) 1938int endOffset = Math.Min(range.StartIndex + range.PositionsAdded, _host.TextContainer.SymbolCount);
MS\Internal\Documents\TextContainerHelper.cs (5)
31Invariant.Assert(cpLast <= textContainer.SymbolCount); 574length = textContainer.SymbolCount; 639cp = textContainer.SymbolCount; 671cp = (edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterStart) ? 0 : textContainer.SymbolCount; 692cch = textContainer.SymbolCount;
System\Windows\Documents\Speller.cs (2)
49if (_textEditor.TextContainer.SymbolCount > 0) 299if (_textEditor.TextContainer.SymbolCount > 0)
System\Windows\Documents\SpellerStatusTable.cs (2)
571if (e.ITextPosition.Offset + e.Count < e.ITextPosition.TextContainer.SymbolCount - 1) 769position = textContainer.CreateStaticPointerAtOffset(textContainer.SymbolCount);
System\windows\Documents\TextEditor.cs (1)
1189int currentLength = textContainer.SymbolCount - charsToReplaceCount;
System\Windows\Documents\TextStore.cs (1)
3835int currentLength = textContainer.SymbolCount - charsToReplaceCount;