31 references to TextContainer
PresentationFramework (31)
System\Windows\Documents\TextStore.cs (31)
918end = this.TextContainer.IMECharCount; 1037_netCharCount = this.TextContainer.IMECharCount; 1256int originalIMECharCount = this.TextContainer.IMECharCount; 1288Invariant.Assert(originalIMECharCount == this.TextContainer.IMECharCount); 1616_netCharCount = this.TextContainer.IMECharCount; 1623this.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 1639this.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 1900ITextPointer pointer = this.TextContainer.CreatePointerAtCharOffset(charOffset, direction); 2188Invariant.Assert(sender == this.TextContainer); 3110UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3329if (_netCharCount != this.TextContainer.IMECharCount) 3340if (offset < 0 || offset > this.TextContainer.IMECharCount) 3342throw new ArgumentException(SR.Format(SR.TextStore_BadIMECharOffset, offset, this.TextContainer.IMECharCount)); 3533UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3582UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3598UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3620UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 3628ITextPointer start = this.TextContainer.CreatePointerAtOffset(record.StartOffsetBefore, LogicalDirection.Backward); 3629ITextPointer end = this.TextContainer.CreatePointerAtOffset(record.EndOffsetBefore, LogicalDirection.Forward); 3816ITextContainer textContainer = this.TextContainer; 3889Invariant.Assert(_netCharCount == this.TextContainer.IMECharCount); 3943Invariant.Assert(_netCharCount == this.TextContainer.IMECharCount); 3947ITextPointer anchor = this.TextContainer.CreatePointerAtOffset(appSelectionAnchorOffset, LogicalDirection.Forward); 3948ITextPointer moving = this.TextContainer.CreatePointerAtOffset(appSelectionMovingOffset, LogicalDirection.Forward); 3968ITextPointer anchor = this.TextContainer.CreatePointerAtOffset(imeSelectionAnchorOffset, LogicalDirection.Backward); 3969ITextPointer moving = this.TextContainer.CreatePointerAtOffset(imeSelectionMovingOffset, LogicalDirection.Backward); 4000UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4029UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4052UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4098UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.Parent); 4930imeCharCount = textStore.TextContainer.IMECharCount;