31 references to TextContainer
PresentationFramework (31)
System\Windows\Documents\TextStore.cs (31)
929end = this.TextContainer.IMECharCount; 1051_netCharCount = this.TextContainer.IMECharCount; 1270int originalIMECharCount = this.TextContainer.IMECharCount; 1302Invariant.Assert(originalIMECharCount == this.TextContainer.IMECharCount); 1630_netCharCount = this.TextContainer.IMECharCount; 1637this.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 1653this.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 1917ITextPointer pointer = this.TextContainer.CreatePointerAtCharOffset(charOffset, direction); 2205Invariant.Assert(sender == this.TextContainer); 3125UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3344if (_netCharCount != this.TextContainer.IMECharCount) 3355if (offset < 0 || offset > this.TextContainer.IMECharCount) 3357throw new ArgumentException(SR.Format(SR.TextStore_BadIMECharOffset, offset, this.TextContainer.IMECharCount)); 3551UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3600UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3616UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3638UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3646ITextPointer start = this.TextContainer.CreatePointerAtOffset(record.StartOffsetBefore, LogicalDirection.Backward); 3647ITextPointer end = this.TextContainer.CreatePointerAtOffset(record.EndOffsetBefore, LogicalDirection.Forward); 3834ITextContainer textContainer = this.TextContainer; 3907Invariant.Assert(_netCharCount == this.TextContainer.IMECharCount); 3961Invariant.Assert(_netCharCount == this.TextContainer.IMECharCount); 3965ITextPointer anchor = this.TextContainer.CreatePointerAtOffset(appSelectionAnchorOffset, LogicalDirection.Forward); 3966ITextPointer moving = this.TextContainer.CreatePointerAtOffset(appSelectionMovingOffset, LogicalDirection.Forward); 3986ITextPointer anchor = this.TextContainer.CreatePointerAtOffset(imeSelectionAnchorOffset, LogicalDirection.Backward); 3987ITextPointer moving = this.TextContainer.CreatePointerAtOffset(imeSelectionMovingOffset, LogicalDirection.Backward); 4018UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4047UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4070UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4116UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4950imeCharCount = textStore.TextContainer.IMECharCount;