5 implementations of Parent
PresentationFramework (5)
src\Framework\System\Windows\Controls\PasswordTextContainer.cs (1)
433
DependencyObject ITextContainer.
Parent
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
281
DependencyObject ITextContainer.
Parent
src\Framework\System\Windows\Documents\FixedTextContainer.cs (1)
250
DependencyObject ITextContainer.
Parent
src\Framework\System\Windows\Documents\NullTextContainer.cs (1)
232
DependencyObject ITextContainer.
Parent
src\Framework\System\Windows\Documents\TextContainer.cs (1)
1758
DependencyObject ITextContainer.
Parent
35 references to Parent
PresentationFramework (35)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
140
pageEl.Add(new FixedPageProxy(segment.Start.TextContainer.
Parent
, startPage + i));
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
187
DependencyObject document = pointer.TextContainer.
Parent
;
347
IDocumentPaginatorSource idp = pointer.TextContainer.
Parent
as IDocumentPaginatorSource;
407
DependencyObject content = pointer.TextContainer.
Parent
as DependencyObject;
445
DependencyObject content = start.TextContainer.
Parent
as DependencyObject;
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
284
FlowDocument content = currentStart.TextContainer.
Parent
as FlowDocument;
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
518
_uiParent = PathNode.GetParent(textContainer.
Parent
) as UIElement;
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (2)
261
if (textContainer.
Parent
!= null)
263
XmlLanguage language = (XmlLanguage)textContainer.
Parent
.GetValue(FrameworkElement.LanguageProperty);
src\Framework\System\Windows\Controls\DeferredTextReference.cs (1)
48
TextBox tb = _textContainer.
Parent
as TextBox;
src\Framework\System\Windows\Controls\TextBlock.cs (1)
154
Type parentType = _complexContent.TextContainer.
Parent
.GetType();
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
176
DependencyObject owner = _textView.TextContainer.
Parent
;
src\Framework\System\Windows\Documents\FixedFindEngine.cs (1)
52
IDocumentPaginatorSource paginatorSource = start.TextContainer.
Parent
as IDocumentPaginatorSource;
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
558
return e.IsTextElement ? e.Type : ((ITextContainer)_flowPosition.TextContainer).
Parent
.GetType();
src\Framework\System\Windows\Documents\ImmComposition.cs (2)
1964
parent = _editor.TextContainer.
Parent
;
1995
parent = _editor.TextContainer.
Parent
;
src\Framework\System\Windows\Documents\NullTextContainer.cs (1)
230
/// <see cref="ITextContainer.
Parent
"/>
src\Framework\System\Windows\Documents\Speller.cs (1)
922
"Document = " + start.TextContainer.
Parent
.GetType().Name + "\n";
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
775
DependencyObject textContainerOwner = textEditor.TextContainer.
Parent
;
src\Framework\System\Windows\Documents\TextPointerBase.cs (6)
874
Invariant.Assert(thisPointer.TextContainer.
Parent
!= null, "Null parent of TextContainer");
893
if (thisPointer.TextContainer.
Parent
is FlowDocument && textView.RenderScope is FlowDocumentView)
902
else if (thisPointer.TextContainer.
Parent
is Visual)
904
Invariant.Assert(textView.RenderScope == thisPointer.TextContainer.
Parent
|| ((Visual)thisPointer.TextContainer.
Parent
).IsAncestorOf( /*descendant:*/textView.RenderScope),
906
templatedParent = (Visual)thisPointer.TextContainer.
Parent
;
src\Framework\System\Windows\Documents\TextStore.cs (10)
2201
UndoManager undoManager = UndoManager.GetUndoManager(textEditor.TextContainer.
Parent
);
3034
UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.
Parent
);
3461
UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.
Parent
);
3502
UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.
Parent
);
3518
UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.
Parent
);
3540
UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.
Parent
);
3850
UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.
Parent
);
3869
UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.
Parent
);
3887
UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.
Parent
);
3933
UndoManager undoManager = UndoManager.GetUndoManager(this.TextContainer.
Parent
);