23 references to Id
PresentationFramework (23)
MS\Internal\Annotations\AnnotationMap.cs (4)
31
if (!_annotationIdToAttachedAnnotations.TryGetValue(attachedAnnotation.Annotation.
Id
, out list))
34
_annotationIdToAttachedAnnotations.Add(attachedAnnotation.Annotation.
Id
, list);
47
if (_annotationIdToAttachedAnnotations.TryGetValue(attachedAnnotation.Annotation.
Id
, out list))
52
_annotationIdToAttachedAnnotations.Remove(attachedAnnotation.Annotation.
Id
);
MS\Internal\Annotations\Storage\StoreAnnotationsMap.cs (6)
76
Debug.Assert(FindAnnotation(annotation.
Id
) == null, "annotation not found");
80
_currentAnnotations.Add(annotation.
Id
, new CachedAnnotation(annotation, dirty));
158
annotations.Add(annotation.
Id
, annotation);
251
_currentAnnotations[args.Annotation.
Id
].Dirty = true;
263
_currentAnnotations[args.Annotation.
Id
].Dirty = true;
275
_currentAnnotations[args.Annotation.
Id
].Dirty = true;
System\Windows\Annotations\AnnotationHelper.cs (4)
776
if (annotation.
Id
.Equals(newAnnotation.
Id
))
850
service.Store.DeleteAnnotation(attachedAnnot.Annotation.
Id
);
999
service.Store.DeleteAnnotation(attachedAnnotation.Annotation.
Id
);
System\Windows\Annotations\AnnotationService.cs (5)
888
matchingAnnotation = FindAnnotationInList(attachedAnnotation, _annotationMap.GetAttachedAnnotations(attachedAnnotation.Annotation.
Id
));
1239
AnnotationDeleted(args.Annotation.
Id
);
1301
if (_annotationMap.GetAttachedAnnotations(annotation.
Id
).Count > 0)
1391
IList<IAttachedAnnotation> annotations = _annotationMap.GetAttachedAnnotations(annotation.
Id
);
1432
IList<IAttachedAnnotation> annotations = _annotationMap.GetAttachedAnnotations(annotation.
Id
);
System\Windows\Annotations\Storage\XmlStreamStore.cs (3)
142
XPathNavigator editor = GetAnnotationNodeForId(newAnnotation.
Id
);
149
if (_storeAnnotationsMap.FindAnnotation(newAnnotation.
Id
) != null)
957
XPathNavigator editor = GetAnnotationNodeForId(annotation.
Id
);
System\Windows\Controls\StickyNote.cs (1)
1064
_attachedAnnotation.Store.DeleteAnnotation(_attachedAnnotation.Annotation.
Id
);