5 instantiations of AttachedAnnotationChangedEventArgs
PresentationFramework (5)
MS\Internal\Annotations\AttachedAnnotationChangedEventArgs.cs (5)
145return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.Added, attachedAnnotation, null, AttachmentLevel.Unresolved); 157return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.Loaded, attachedAnnotation, null, AttachmentLevel.Unresolved); 169return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.Deleted, attachedAnnotation, null, AttachmentLevel.Unresolved); 181return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.Unloaded, attachedAnnotation, null, AttachmentLevel.Unresolved); 195return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.AnchorModified, attachedAnnotation, previousAttachedAnchor, previousAttachmentLevel);
35 references to AttachedAnnotationChangedEventArgs
PresentationFramework (35)
MS\Internal\Annotations\AttachedAnnotationChangedEventArgs.cs (6)
141internal static AttachedAnnotationChangedEventArgs Added(IAttachedAnnotation attachedAnnotation) 153internal static AttachedAnnotationChangedEventArgs Loaded(IAttachedAnnotation attachedAnnotation) 165internal static AttachedAnnotationChangedEventArgs Deleted(IAttachedAnnotation attachedAnnotation) 177internal static AttachedAnnotationChangedEventArgs Unloaded(IAttachedAnnotation attachedAnnotation) 191internal static AttachedAnnotationChangedEventArgs Modified(IAttachedAnnotation attachedAnnotation, object previousAttachedAnchor, AttachmentLevel previousAttachmentLevel) 219internal delegate void AttachedAnnotationChangedEventHandler(object sender, AttachedAnnotationChangedEventArgs e);
MS\Internal\Annotations\Component\AnnotationComponentManager.cs (1)
106private void AttachedAnnotationUpdateEventHandler(object sender, AttachedAnnotationChangedEventArgs e)
System\Windows\Annotations\AnnotationService.cs (28)
865List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(attachedAnnotations.Count); 887eventsToFire.Add(AttachedAnnotationChangedEventArgs.Modified(matchingAnnotation, 895eventsToFire.Add(AttachedAnnotationChangedEventArgs.Unloaded(attachedAnnotation)); 903eventsToFire.Add(AttachedAnnotationChangedEventArgs.Loaded(attachedAnnotation)); 919List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(attachedAnnotations.Count); 924eventsToFire.Add(AttachedAnnotationChangedEventArgs.Unloaded(attachedAnnotation)); 1246AttachedAnnotationChangedEventArgs newArgs = null; 1287List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(annotation.Anchors.Count); 1294AttachedAnnotationChangedEventArgs args = AnchorAdded(annotation, anchor); 1319List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(list.Length); 1324eventsToFire.Add(AttachedAnnotationChangedEventArgs.Deleted(attachedAnnotation)); 1337private AttachedAnnotationChangedEventArgs AnchorAdded(Annotation annotation, AnnotationResource anchor) 1341AttachedAnnotationChangedEventArgs args = null; 1356args = AttachedAnnotationChangedEventArgs.Added(attachedAnnotation); 1368private AttachedAnnotationChangedEventArgs AnchorRemoved(Annotation annotation, AnnotationResource anchor) 1372AttachedAnnotationChangedEventArgs args = null; 1387args = AttachedAnnotationChangedEventArgs.Deleted(attachedAnnotation); 1403private AttachedAnnotationChangedEventArgs AnchorModified(Annotation annotation, AnnotationResource anchor) 1407AttachedAnnotationChangedEventArgs args = null; 1438args = AttachedAnnotationChangedEventArgs.Modified(attachedAnnotation, oldAttachedAnchor, oldAttachmentLevel); 1445args = AttachedAnnotationChangedEventArgs.Deleted(attachedAnnotation); 1463args = AttachedAnnotationChangedEventArgs.Added(attachedAnnotation); 1623private void FireEvents(List<AttachedAnnotationChangedEventArgs> eventsToFire) 1629foreach (AttachedAnnotationChangedEventArgs args in eventsToFire)