5 implementations of SymbolCount
PresentationFramework (5)
System\Windows\Controls\PasswordTextContainer.cs (1)
487int ITextContainer.SymbolCount
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
293int ITextContainer.SymbolCount
System\Windows\Documents\FixedTextContainer.cs (1)
262int ITextContainer.SymbolCount
System\Windows\Documents\NullTextContainer.cs (1)
258int ITextContainer.SymbolCount
System\Windows\Documents\TextContainer.cs (1)
1800int ITextContainer.SymbolCount
13 references to SymbolCount
PresentationFramework (13)
MS\Internal\Documents\TextBoxView.cs (2)
862else 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)
28Invariant.Assert(cpLast <= textContainer.SymbolCount); 571length = textContainer.SymbolCount; 636cp = textContainer.SymbolCount; 668cp = (edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterStart) ? 0 : textContainer.SymbolCount; 689cch = textContainer.SymbolCount;
System\Windows\Documents\Speller.cs (2)
45if (_textEditor.TextContainer.SymbolCount > 0) 295if (_textEditor.TextContainer.SymbolCount > 0)
System\Windows\Documents\SpellerStatusTable.cs (2)
569if (e.ITextPosition.Offset + e.Count < e.ITextPosition.TextContainer.SymbolCount - 1) 767position = textContainer.CreateStaticPointerAtOffset(textContainer.SymbolCount);
System\windows\Documents\TextEditor.cs (1)
1180int currentLength = textContainer.SymbolCount - charsToReplaceCount;
System\Windows\Documents\TextStore.cs (1)
3826int currentLength = textContainer.SymbolCount - charsToReplaceCount;