23 references to Id
PresentationFramework (23)
MS\Internal\Annotations\AnnotationMap.cs (4)
25
if (!_annotationIdToAttachedAnnotations.TryGetValue(attachedAnnotation.Annotation.
Id
, out list))
28
_annotationIdToAttachedAnnotations.Add(attachedAnnotation.Annotation.
Id
, list);
41
if (_annotationIdToAttachedAnnotations.TryGetValue(attachedAnnotation.Annotation.
Id
, out list))
46
_annotationIdToAttachedAnnotations.Remove(attachedAnnotation.Annotation.
Id
);
MS\Internal\Annotations\Storage\StoreAnnotationsMap.cs (6)
69
Debug.Assert(FindAnnotation(annotation.
Id
) == null, "annotation not found");
73
_currentAnnotations.Add(annotation.
Id
, new CachedAnnotation(annotation, dirty));
151
annotations.Add(annotation.
Id
, annotation);
244
_currentAnnotations[args.Annotation.
Id
].Dirty = true;
256
_currentAnnotations[args.Annotation.
Id
].Dirty = true;
268
_currentAnnotations[args.Annotation.
Id
].Dirty = true;
System\Windows\Annotations\AnnotationHelper.cs (4)
764
if (annotation.
Id
.Equals(newAnnotation.
Id
))
838
service.Store.DeleteAnnotation(attachedAnnot.Annotation.
Id
);
987
service.Store.DeleteAnnotation(attachedAnnotation.Annotation.
Id
);
System\Windows\Annotations\AnnotationService.cs (5)
876
matchingAnnotation = FindAnnotationInList(attachedAnnotation, _annotationMap.GetAttachedAnnotations(attachedAnnotation.Annotation.
Id
));
1227
AnnotationDeleted(args.Annotation.
Id
);
1289
if (_annotationMap.GetAttachedAnnotations(annotation.
Id
).Count > 0)
1379
IList<IAttachedAnnotation> annotations = _annotationMap.GetAttachedAnnotations(annotation.
Id
);
1420
IList<IAttachedAnnotation> annotations = _annotationMap.GetAttachedAnnotations(annotation.
Id
);
System\Windows\Annotations\Storage\XmlStreamStore.cs (3)
131
XPathNavigator editor = GetAnnotationNodeForId(newAnnotation.
Id
);
138
if (_storeAnnotationsMap.FindAnnotation(newAnnotation.
Id
) != null)
946
XPathNavigator editor = GetAnnotationNodeForId(annotation.
Id
);
System\Windows\Controls\StickyNote.cs (1)
1048
_attachedAnnotation.Store.DeleteAnnotation(_attachedAnnotation.Annotation.
Id
);