31 references to TextContainer
PresentationFramework (31)
System\Windows\Documents\TextStore.cs (31)
917end = this.TextContainer.IMECharCount; 1036_netCharCount = this.TextContainer.IMECharCount; 1255int originalIMECharCount = this.TextContainer.IMECharCount; 1287Invariant.Assert(originalIMECharCount == this.TextContainer.IMECharCount); 1615_netCharCount = this.TextContainer.IMECharCount; 1622this.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 1638this.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 1899ITextPointer pointer = this.TextContainer.CreatePointerAtCharOffset(charOffset, direction); 2187Invariant.Assert(sender == this.TextContainer); 3109UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3328if (_netCharCount != this.TextContainer.IMECharCount) 3339if (offset < 0 || offset > this.TextContainer.IMECharCount) 3341throw new ArgumentException(SR.Format(SR.TextStore_BadIMECharOffset, offset, this.TextContainer.IMECharCount)); 3532UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3581UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3597UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3619UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3627ITextPointer start = this.TextContainer.CreatePointerAtOffset(record.StartOffsetBefore, LogicalDirection.Backward); 3628ITextPointer end = this.TextContainer.CreatePointerAtOffset(record.EndOffsetBefore, LogicalDirection.Forward); 3815ITextContainer textContainer = this.TextContainer; 3888Invariant.Assert(_netCharCount == this.TextContainer.IMECharCount); 3942Invariant.Assert(_netCharCount == this.TextContainer.IMECharCount); 3946ITextPointer anchor = this.TextContainer.CreatePointerAtOffset(appSelectionAnchorOffset, LogicalDirection.Forward); 3947ITextPointer moving = this.TextContainer.CreatePointerAtOffset(appSelectionMovingOffset, LogicalDirection.Forward); 3967ITextPointer anchor = this.TextContainer.CreatePointerAtOffset(imeSelectionAnchorOffset, LogicalDirection.Backward); 3968ITextPointer moving = this.TextContainer.CreatePointerAtOffset(imeSelectionMovingOffset, LogicalDirection.Backward); 3999UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4028UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4051UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4097UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4929imeCharCount = textStore.TextContainer.IMECharCount;