31 references to TextContainer
PresentationFramework (31)
System\Windows\Documents\TextStore.cs (31)
918end = this.TextContainer.IMECharCount; 1040_netCharCount = this.TextContainer.IMECharCount; 1259int originalIMECharCount = this.TextContainer.IMECharCount; 1291Invariant.Assert(originalIMECharCount == this.TextContainer.IMECharCount); 1619_netCharCount = this.TextContainer.IMECharCount; 1626this.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 1642this.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 1906ITextPointer pointer = this.TextContainer.CreatePointerAtCharOffset(charOffset, direction); 2194Invariant.Assert(sender == this.TextContainer); 3114UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3333if (_netCharCount != this.TextContainer.IMECharCount) 3344if (offset < 0 || offset > this.TextContainer.IMECharCount) 3346throw new ArgumentException(SR.Format(SR.TextStore_BadIMECharOffset, offset, this.TextContainer.IMECharCount)); 3540UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3589UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3605UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3627UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3635ITextPointer start = this.TextContainer.CreatePointerAtOffset(record.StartOffsetBefore, LogicalDirection.Backward); 3636ITextPointer end = this.TextContainer.CreatePointerAtOffset(record.EndOffsetBefore, LogicalDirection.Forward); 3823ITextContainer textContainer = this.TextContainer; 3896Invariant.Assert(_netCharCount == this.TextContainer.IMECharCount); 3950Invariant.Assert(_netCharCount == this.TextContainer.IMECharCount); 3954ITextPointer anchor = this.TextContainer.CreatePointerAtOffset(appSelectionAnchorOffset, LogicalDirection.Forward); 3955ITextPointer moving = this.TextContainer.CreatePointerAtOffset(appSelectionMovingOffset, LogicalDirection.Forward); 3975ITextPointer anchor = this.TextContainer.CreatePointerAtOffset(imeSelectionAnchorOffset, LogicalDirection.Backward); 3976ITextPointer moving = this.TextContainer.CreatePointerAtOffset(imeSelectionMovingOffset, LogicalDirection.Backward); 4007UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4036UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4059UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4105UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4939imeCharCount = textStore.TextContainer.IMECharCount;