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); 1612_netCharCount = this.TextContainer.IMECharCount; 1619this.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 1635this.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 1896ITextPointer pointer = this.TextContainer.CreatePointerAtCharOffset(charOffset, direction); 2181Invariant.Assert(sender == this.TextContainer); 3100UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3319if (_netCharCount != this.TextContainer.IMECharCount) 3330if (offset < 0 || offset > this.TextContainer.IMECharCount) 3332throw new ArgumentException(SR.Format(SR.TextStore_BadIMECharOffset, offset, this.TextContainer.IMECharCount)); 3523UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3572UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3588UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3610UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3618ITextPointer start = this.TextContainer.CreatePointerAtOffset(record.StartOffsetBefore, LogicalDirection.Backward); 3619ITextPointer end = this.TextContainer.CreatePointerAtOffset(record.EndOffsetBefore, LogicalDirection.Forward); 3806ITextContainer textContainer = this.TextContainer; 3879Invariant.Assert(_netCharCount == this.TextContainer.IMECharCount); 3933Invariant.Assert(_netCharCount == this.TextContainer.IMECharCount); 3937ITextPointer anchor = this.TextContainer.CreatePointerAtOffset(appSelectionAnchorOffset, LogicalDirection.Forward); 3938ITextPointer moving = this.TextContainer.CreatePointerAtOffset(appSelectionMovingOffset, LogicalDirection.Forward); 3958ITextPointer anchor = this.TextContainer.CreatePointerAtOffset(imeSelectionAnchorOffset, LogicalDirection.Backward); 3959ITextPointer moving = this.TextContainer.CreatePointerAtOffset(imeSelectionMovingOffset, LogicalDirection.Backward); 3990UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4019UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4042UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4088UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4920imeCharCount = textStore.TextContainer.IMECharCount;