23 references to Id
PresentationFramework (23)
MS\Internal\Annotations\AnnotationMap.cs (4)
24
if (!_annotationIdToAttachedAnnotations.TryGetValue(attachedAnnotation.Annotation.
Id
, out list))
27
_annotationIdToAttachedAnnotations.Add(attachedAnnotation.Annotation.
Id
, list);
40
if (_annotationIdToAttachedAnnotations.TryGetValue(attachedAnnotation.Annotation.
Id
, out list))
45
_annotationIdToAttachedAnnotations.Remove(attachedAnnotation.Annotation.
Id
);
MS\Internal\Annotations\Storage\StoreAnnotationsMap.cs (6)
68
Debug.Assert(FindAnnotation(annotation.
Id
) == null, "annotation not found");
72
_currentAnnotations.Add(annotation.
Id
, new CachedAnnotation(annotation, dirty));
150
annotations.Add(annotation.
Id
, annotation);
243
_currentAnnotations[args.Annotation.
Id
].Dirty = true;
255
_currentAnnotations[args.Annotation.
Id
].Dirty = true;
267
_currentAnnotations[args.Annotation.
Id
].Dirty = true;
System\Windows\Annotations\AnnotationHelper.cs (4)
761
if (annotation.
Id
.Equals(newAnnotation.
Id
))
835
service.Store.DeleteAnnotation(attachedAnnot.Annotation.
Id
);
984
service.Store.DeleteAnnotation(attachedAnnotation.Annotation.
Id
);
System\Windows\Annotations\AnnotationService.cs (5)
870
matchingAnnotation = FindAnnotationInList(attachedAnnotation, _annotationMap.GetAttachedAnnotations(attachedAnnotation.Annotation.
Id
));
1221
AnnotationDeleted(args.Annotation.
Id
);
1283
if (_annotationMap.GetAttachedAnnotations(annotation.
Id
).Count > 0)
1373
IList<IAttachedAnnotation> annotations = _annotationMap.GetAttachedAnnotations(annotation.
Id
);
1414
IList<IAttachedAnnotation> annotations = _annotationMap.GetAttachedAnnotations(annotation.
Id
);
System\Windows\Annotations\Storage\XmlStreamStore.cs (3)
130
XPathNavigator editor = GetAnnotationNodeForId(newAnnotation.
Id
);
137
if (_storeAnnotationsMap.FindAnnotation(newAnnotation.
Id
) != null)
947
XPathNavigator editor = GetAnnotationNodeForId(annotation.
Id
);
System\Windows\Controls\StickyNote.cs (1)
1025
_attachedAnnotation.Store.DeleteAnnotation(_attachedAnnotation.Annotation.
Id
);