5 instantiations of AttachedAnnotationChangedEventArgs
PresentationFramework (5)
src\Framework\MS\Internal\Annotations\AttachedAnnotationChangedEventArgs.cs (5)
168return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.Added, attachedAnnotation, null, AttachmentLevel.Unresolved); 180return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.Loaded, attachedAnnotation, null, AttachmentLevel.Unresolved); 192return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.Deleted, attachedAnnotation, null, AttachmentLevel.Unresolved); 204return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.Unloaded, attachedAnnotation, null, AttachmentLevel.Unresolved); 218return new AttachedAnnotationChangedEventArgs(AttachedAnnotationAction.AnchorModified, attachedAnnotation, previousAttachedAnchor, previousAttachmentLevel);
35 references to AttachedAnnotationChangedEventArgs
PresentationFramework (35)
src\Framework\MS\Internal\Annotations\AttachedAnnotationChangedEventArgs.cs (6)
164internal static AttachedAnnotationChangedEventArgs Added(IAttachedAnnotation attachedAnnotation) 176internal static AttachedAnnotationChangedEventArgs Loaded(IAttachedAnnotation attachedAnnotation) 188internal static AttachedAnnotationChangedEventArgs Deleted(IAttachedAnnotation attachedAnnotation) 200internal static AttachedAnnotationChangedEventArgs Unloaded(IAttachedAnnotation attachedAnnotation) 214internal static AttachedAnnotationChangedEventArgs Modified(IAttachedAnnotation attachedAnnotation, object previousAttachedAnchor, AttachmentLevel previousAttachmentLevel) 242internal delegate void AttachedAnnotationChangedEventHandler(object sender, AttachedAnnotationChangedEventArgs e);
src\Framework\MS\Internal\Annotations\Component\AnnotationComponentManager.cs (1)
116private void AttachedAnnotationUpdateEventHandler(object sender, AttachedAnnotationChangedEventArgs e)
src\Framework\System\Windows\Annotations\AnnotationService.cs (28)
915List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(attachedAnnotations.Count); 937eventsToFire.Add(AttachedAnnotationChangedEventArgs.Modified(matchingAnnotation, 946eventsToFire.Add(AttachedAnnotationChangedEventArgs.Unloaded(attachedAnnotation)); 954eventsToFire.Add(AttachedAnnotationChangedEventArgs.Loaded(attachedAnnotation)); 970List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(attachedAnnotations.Count); 975eventsToFire.Add(AttachedAnnotationChangedEventArgs.Unloaded(attachedAnnotation)); 1303AttachedAnnotationChangedEventArgs newArgs = null; 1344List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(annotation.Anchors.Count); 1351AttachedAnnotationChangedEventArgs args = AnchorAdded(annotation, anchor); 1376List<AttachedAnnotationChangedEventArgs> eventsToFire = new List<AttachedAnnotationChangedEventArgs>(list.Length); 1381eventsToFire.Add(AttachedAnnotationChangedEventArgs.Deleted(attachedAnnotation)); 1394private AttachedAnnotationChangedEventArgs AnchorAdded(Annotation annotation, AnnotationResource anchor) 1398AttachedAnnotationChangedEventArgs args = null; 1413args = AttachedAnnotationChangedEventArgs.Added(attachedAnnotation); 1425private AttachedAnnotationChangedEventArgs AnchorRemoved(Annotation annotation, AnnotationResource anchor) 1429AttachedAnnotationChangedEventArgs args = null; 1444args = AttachedAnnotationChangedEventArgs.Deleted(attachedAnnotation); 1460private AttachedAnnotationChangedEventArgs AnchorModified(Annotation annotation, AnnotationResource anchor) 1464AttachedAnnotationChangedEventArgs args = null; 1495args = AttachedAnnotationChangedEventArgs.Modified(attachedAnnotation, oldAttachedAnchor, oldAttachmentLevel); 1502args = AttachedAnnotationChangedEventArgs.Deleted(attachedAnnotation); 1520args = AttachedAnnotationChangedEventArgs.Added(attachedAnnotation); 1680private void FireEvents(List<AttachedAnnotationChangedEventArgs> eventsToFire) 1686foreach (AttachedAnnotationChangedEventArgs args in eventsToFire)