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