15 references to GetService
PresentationFramework (15)
MS\Internal\Annotations\Anchoring\AttachedAnnotation.cs (1)
286
AnnotationService service = AnnotationService.
GetService
(this.Parent);
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (2)
138
AnnotationService service = AnnotationService.
GetService
(node);
382
AnnotationService service = AnnotationService.
GetService
(d);
MS\Internal\Annotations\Anchoring\LocatorManager.cs (2)
297
AnnotationService service = AnnotationService.
GetService
(node);
948
AnnotationService svc = AnnotationService.
GetService
(startNode);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
122
service = AnnotationService.
GetService
(((IAnnotationComponent)snc).AnnotatedElement);
System\Windows\Annotations\AnnotationHelper.cs (8)
298
CreateHighlightForSelection(AnnotationService.
GetService
(viewer), null, e.Parameter != null ? e.Parameter as Brush : null);
312
CreateTextStickyNoteForSelection(AnnotationService.
GetService
(viewer), e.Parameter as String);
326
CreateInkStickyNoteForSelection(AnnotationService.
GetService
(viewer), e.Parameter as String);
341
ClearHighlightsForSelection(AnnotationService.
GetService
(viewer));
356
DeleteTextStickyNotesForSelection(AnnotationService.
GetService
(viewer));
357
DeleteInkStickyNotesForSelection(AnnotationService.
GetService
(viewer));
376
AnnotationService service = AnnotationService.
GetService
(viewer);
1137
AnnotationService service = AnnotationService.
GetService
(viewer);
System\Windows\Annotations\AnnotationService.cs (1)
1067
if (AnnotationService.
GetService
(root) != null)