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)
107private void AttachedAnnotationUpdateEventHandler(object sender, AttachedAnnotationChangedEventArgs e)
System\Windows\Annotations\AnnotationService.cs (28)
870List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(attachedAnnotations.Count); 892eventsToFire.Add(AttachedAnnotationChangedEventArgs.Modified(matchingAnnotation, 900eventsToFire.Add(AttachedAnnotationChangedEventArgs.Unloaded(attachedAnnotation)); 908eventsToFire.Add(AttachedAnnotationChangedEventArgs.Loaded(attachedAnnotation)); 924List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(attachedAnnotations.Count); 929eventsToFire.Add(AttachedAnnotationChangedEventArgs.Unloaded(attachedAnnotation)); 1251AttachedAnnotationChangedEventArgs newArgs = null; 1292List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(annotation.Anchors.Count); 1299AttachedAnnotationChangedEventArgs args = AnchorAdded(annotation, anchor); 1324List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(list.Length); 1329eventsToFire.Add(AttachedAnnotationChangedEventArgs.Deleted(attachedAnnotation)); 1342private AttachedAnnotationChangedEventArgs AnchorAdded(Annotation annotation, AnnotationResource anchor) 1346AttachedAnnotationChangedEventArgs args = null; 1361args = AttachedAnnotationChangedEventArgs.Added(attachedAnnotation); 1373private AttachedAnnotationChangedEventArgs AnchorRemoved(Annotation annotation, AnnotationResource anchor) 1377AttachedAnnotationChangedEventArgs args = null; 1392args = AttachedAnnotationChangedEventArgs.Deleted(attachedAnnotation); 1408private AttachedAnnotationChangedEventArgs AnchorModified(Annotation annotation, AnnotationResource anchor) 1412AttachedAnnotationChangedEventArgs args = null; 1443args = AttachedAnnotationChangedEventArgs.Modified(attachedAnnotation, oldAttachedAnchor, oldAttachmentLevel); 1450args = AttachedAnnotationChangedEventArgs.Deleted(attachedAnnotation); 1468args = AttachedAnnotationChangedEventArgs.Added(attachedAnnotation); 1628private void FireEvents(List<AttachedAnnotationChangedEventArgs> eventsToFire) 1634foreach (AttachedAnnotationChangedEventArgs args in eventsToFire)