23 references to Id
PresentationFramework (23)
src\Framework\MS\Internal\Annotations\AnnotationMap.cs (4)
37
if (!_annotationIdToAttachedAnnotations.TryGetValue(attachedAnnotation.Annotation.
Id
, out list))
40
_annotationIdToAttachedAnnotations.Add(attachedAnnotation.Annotation.
Id
, list);
53
if (_annotationIdToAttachedAnnotations.TryGetValue(attachedAnnotation.Annotation.
Id
, out list))
58
_annotationIdToAttachedAnnotations.Remove(attachedAnnotation.Annotation.
Id
);
src\Framework\MS\Internal\Annotations\Storage\StoreAnnotationsMap.cs (6)
82
Debug.Assert(FindAnnotation(annotation.
Id
) == null, "annotation not found");
86
_currentAnnotations.Add(annotation.
Id
, new CachedAnnotation(annotation, dirty));
165
annotations.Add(annotation.
Id
, annotation);
258
_currentAnnotations[args.Annotation.
Id
].Dirty = true;
270
_currentAnnotations[args.Annotation.
Id
].Dirty = true;
282
_currentAnnotations[args.Annotation.
Id
].Dirty = true;
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (4)
783
if (annotation.
Id
.Equals(newAnnotation.
Id
))
857
service.Store.DeleteAnnotation(attachedAnnot.Annotation.
Id
);
1007
service.Store.DeleteAnnotation(attachedAnnotation.Annotation.
Id
);
src\Framework\System\Windows\Annotations\AnnotationService.cs (5)
921
matchingAnnotation = FindAnnotationInList(attachedAnnotation, _annotationMap.GetAttachedAnnotations(attachedAnnotation.Annotation.
Id
));
1279
AnnotationDeleted(args.Annotation.
Id
);
1341
if (_annotationMap.GetAttachedAnnotations(annotation.
Id
).Count > 0)
1431
IList<IAttachedAnnotation> annotations = _annotationMap.GetAttachedAnnotations(annotation.
Id
);
1472
IList<IAttachedAnnotation> annotations = _annotationMap.GetAttachedAnnotations(annotation.
Id
);
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (3)
155
XPathNavigator editor = GetAnnotationNodeForId(newAnnotation.
Id
);
162
if (_storeAnnotationsMap.FindAnnotation(newAnnotation.
Id
) != null)
986
XPathNavigator editor = GetAnnotationNodeForId(annotation.
Id
);
src\Framework\System\Windows\Controls\StickyNote.cs (1)
1074
_attachedAnnotation.Store.DeleteAnnotation(_attachedAnnotation.Annotation.
Id
);