15 references to GetService
PresentationFramework (15)
MS\Internal\Annotations\Anchoring\AttachedAnnotation.cs (1)
280AnnotationService service = AnnotationService.GetService(this.Parent);
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (2)
118AnnotationService service = AnnotationService.GetService(node); 360AnnotationService service = AnnotationService.GetService(d);
MS\Internal\Annotations\Anchoring\LocatorManager.cs (2)
275AnnotationService service = AnnotationService.GetService(node); 925AnnotationService svc = AnnotationService.GetService(startNode);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
112service = AnnotationService.GetService(((IAnnotationComponent)snc).AnnotatedElement);
System\Windows\Annotations\AnnotationHelper.cs (8)
284CreateHighlightForSelection(AnnotationService.GetService(viewer), null, e.Parameter != null ? e.Parameter as Brush : null); 298CreateTextStickyNoteForSelection(AnnotationService.GetService(viewer), e.Parameter as String); 312CreateInkStickyNoteForSelection(AnnotationService.GetService(viewer), e.Parameter as String); 327ClearHighlightsForSelection(AnnotationService.GetService(viewer)); 342DeleteTextStickyNotesForSelection(AnnotationService.GetService(viewer)); 343DeleteInkStickyNotesForSelection(AnnotationService.GetService(viewer)); 362AnnotationService service = AnnotationService.GetService(viewer); 1123AnnotationService service = AnnotationService.GetService(viewer);
System\Windows\Annotations\AnnotationService.cs (1)
1050if (AnnotationService.GetService(root) != null)