5 instantiations of AttachedAnnotationChangedEventArgs
PresentationFramework (5)
MS\Internal\Annotations\AttachedAnnotationChangedEventArgs.cs (5)
162return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.Added, attachedAnnotation, null, AttachmentLevel.Unresolved); 174return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.Loaded, attachedAnnotation, null, AttachmentLevel.Unresolved); 186return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.Deleted, attachedAnnotation, null, AttachmentLevel.Unresolved); 198return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.Unloaded, attachedAnnotation, null, AttachmentLevel.Unresolved); 212return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.AnchorModified, attachedAnnotation, previousAttachedAnchor, previousAttachmentLevel);
35 references to AttachedAnnotationChangedEventArgs
PresentationFramework (35)
MS\Internal\Annotations\AttachedAnnotationChangedEventArgs.cs (6)
158internal static AttachedAnnotationChangedEventArgs Added(IAttachedAnnotation attachedAnnotation) 170internal static AttachedAnnotationChangedEventArgs Loaded(IAttachedAnnotation attachedAnnotation) 182internal static AttachedAnnotationChangedEventArgs Deleted(IAttachedAnnotation attachedAnnotation) 194internal static AttachedAnnotationChangedEventArgs Unloaded(IAttachedAnnotation attachedAnnotation) 208internal static AttachedAnnotationChangedEventArgs Modified(IAttachedAnnotation attachedAnnotation, object previousAttachedAnchor, AttachmentLevel previousAttachmentLevel) 236internal delegate void AttachedAnnotationChangedEventHandler(object sender, AttachedAnnotationChangedEventArgs e);
MS\Internal\Annotations\Component\AnnotationComponentManager.cs (1)
111private void AttachedAnnotationUpdateEventHandler(object sender, AttachedAnnotationChangedEventArgs e)
System\Windows\Annotations\AnnotationService.cs (28)
882List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(attachedAnnotations.Count); 904eventsToFire.Add(AttachedAnnotationChangedEventArgs.Modified(matchingAnnotation, 912eventsToFire.Add(AttachedAnnotationChangedEventArgs.Unloaded(attachedAnnotation)); 920eventsToFire.Add(AttachedAnnotationChangedEventArgs.Loaded(attachedAnnotation)); 936List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(attachedAnnotations.Count); 941eventsToFire.Add(AttachedAnnotationChangedEventArgs.Unloaded(attachedAnnotation)); 1263AttachedAnnotationChangedEventArgs newArgs = null; 1304List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(annotation.Anchors.Count); 1311AttachedAnnotationChangedEventArgs args = AnchorAdded(annotation, anchor); 1336List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(list.Length); 1341eventsToFire.Add(AttachedAnnotationChangedEventArgs.Deleted(attachedAnnotation)); 1354private AttachedAnnotationChangedEventArgs AnchorAdded(Annotation annotation, AnnotationResource anchor) 1358AttachedAnnotationChangedEventArgs args = null; 1373args = AttachedAnnotationChangedEventArgs.Added(attachedAnnotation); 1385private AttachedAnnotationChangedEventArgs AnchorRemoved(Annotation annotation, AnnotationResource anchor) 1389AttachedAnnotationChangedEventArgs args = null; 1404args = AttachedAnnotationChangedEventArgs.Deleted(attachedAnnotation); 1420private AttachedAnnotationChangedEventArgs AnchorModified(Annotation annotation, AnnotationResource anchor) 1424AttachedAnnotationChangedEventArgs args = null; 1455args = AttachedAnnotationChangedEventArgs.Modified(attachedAnnotation, oldAttachedAnchor, oldAttachmentLevel); 1462args = AttachedAnnotationChangedEventArgs.Deleted(attachedAnnotation); 1480args = AttachedAnnotationChangedEventArgs.Added(attachedAnnotation); 1640private void FireEvents(List<AttachedAnnotationChangedEventArgs> eventsToFire) 1646foreach (AttachedAnnotationChangedEventArgs args in eventsToFire)