19 references to Root
PresentationFramework (19)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (2)
131(service.Root == node || 132(nodeParent != null && service.Root == nodeParent.TemplatedParent)))
MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
940startNode = svc.Root;
System\Windows\Annotations\AnnotationHelper.cs (14)
184DocumentViewerBase viewer = service.Root as DocumentViewerBase; 187FlowDocumentReader fdr = service.Root as FlowDocumentReader; 493ITextSelection selection = GetTextSelection((FrameworkElement)service.Root); 568DocumentViewerBase viewer = service.Root as DocumentViewerBase; 571FlowDocumentReader fdr = service.Root as FlowDocumentReader; 586ITextSelection selection = GetTextSelection((FrameworkElement)service.Root); 785object anchor = service.LocatorManager.ResolveLocator(annot.Anchors[0].ContentLocators[0], 0, service.Root, out level); 814ITextSelection selection = GetTextSelection((FrameworkElement)service.Root); 917ITextSelection selection = GetTextSelection((FrameworkElement)service.Root); 1090DocumentViewerBase viewer = service.Root as DocumentViewerBase; 1093FlowDocumentScrollViewer scrollViewer = service.Root as FlowDocumentScrollViewer; 1094FlowDocumentReader reader = service.Root as FlowDocumentReader; 1128(service.Root == viewer || 1130(parent != null && service.Root == parent.TemplatedParent)))
System\Windows\Annotations\AnnotationService.cs (2)
755GetViewerAndDocument(Root, out documentViewerBase, out document); 1546FrameworkElement viewer = this.Root as FrameworkElement;