5 instantiations of AttachedAnnotationChangedEventArgs
PresentationFramework (5)
MS\Internal\Annotations\AttachedAnnotationChangedEventArgs.cs (5)
144
return new
AttachedAnnotationChangedEventArgs
(AttachedAnnotationAction.Added, attachedAnnotation, null, AttachmentLevel.Unresolved);
156
return new
AttachedAnnotationChangedEventArgs
(AttachedAnnotationAction.Loaded, attachedAnnotation, null, AttachmentLevel.Unresolved);
168
return new
AttachedAnnotationChangedEventArgs
(AttachedAnnotationAction.Deleted, attachedAnnotation, null, AttachmentLevel.Unresolved);
180
return new
AttachedAnnotationChangedEventArgs
(AttachedAnnotationAction.Unloaded, attachedAnnotation, null, AttachmentLevel.Unresolved);
194
return new
AttachedAnnotationChangedEventArgs
(AttachedAnnotationAction.AnchorModified, attachedAnnotation, previousAttachedAnchor, previousAttachmentLevel);
35 references to AttachedAnnotationChangedEventArgs
PresentationFramework (35)
MS\Internal\Annotations\AttachedAnnotationChangedEventArgs.cs (6)
140
internal static
AttachedAnnotationChangedEventArgs
Added(IAttachedAnnotation attachedAnnotation)
152
internal static
AttachedAnnotationChangedEventArgs
Loaded(IAttachedAnnotation attachedAnnotation)
164
internal static
AttachedAnnotationChangedEventArgs
Deleted(IAttachedAnnotation attachedAnnotation)
176
internal static
AttachedAnnotationChangedEventArgs
Unloaded(IAttachedAnnotation attachedAnnotation)
190
internal static
AttachedAnnotationChangedEventArgs
Modified(IAttachedAnnotation attachedAnnotation, object previousAttachedAnchor, AttachmentLevel previousAttachmentLevel)
218
internal delegate void AttachedAnnotationChangedEventHandler(object sender,
AttachedAnnotationChangedEventArgs
e);
MS\Internal\Annotations\Component\AnnotationComponentManager.cs (1)
105
private void AttachedAnnotationUpdateEventHandler(object sender,
AttachedAnnotationChangedEventArgs
e)
System\Windows\Annotations\AnnotationService.cs (28)
861
List<
AttachedAnnotationChangedEventArgs
> eventsToFire = new List<
AttachedAnnotationChangedEventArgs
>(attachedAnnotations.Count);
883
eventsToFire.Add(
AttachedAnnotationChangedEventArgs
.Modified(matchingAnnotation,
891
eventsToFire.Add(
AttachedAnnotationChangedEventArgs
.Unloaded(attachedAnnotation));
899
eventsToFire.Add(
AttachedAnnotationChangedEventArgs
.Loaded(attachedAnnotation));
915
List<
AttachedAnnotationChangedEventArgs
> eventsToFire = new List<
AttachedAnnotationChangedEventArgs
>(attachedAnnotations.Count);
920
eventsToFire.Add(
AttachedAnnotationChangedEventArgs
.Unloaded(attachedAnnotation));
1239
AttachedAnnotationChangedEventArgs
newArgs = null;
1280
List<
AttachedAnnotationChangedEventArgs
> eventsToFire = new List<
AttachedAnnotationChangedEventArgs
>(annotation.Anchors.Count);
1287
AttachedAnnotationChangedEventArgs
args = AnchorAdded(annotation, anchor);
1312
List<
AttachedAnnotationChangedEventArgs
> eventsToFire = new List<
AttachedAnnotationChangedEventArgs
>(list.Length);
1317
eventsToFire.Add(
AttachedAnnotationChangedEventArgs
.Deleted(attachedAnnotation));
1330
private
AttachedAnnotationChangedEventArgs
AnchorAdded(Annotation annotation, AnnotationResource anchor)
1334
AttachedAnnotationChangedEventArgs
args = null;
1349
args =
AttachedAnnotationChangedEventArgs
.Added(attachedAnnotation);
1361
private
AttachedAnnotationChangedEventArgs
AnchorRemoved(Annotation annotation, AnnotationResource anchor)
1365
AttachedAnnotationChangedEventArgs
args = null;
1380
args =
AttachedAnnotationChangedEventArgs
.Deleted(attachedAnnotation);
1396
private
AttachedAnnotationChangedEventArgs
AnchorModified(Annotation annotation, AnnotationResource anchor)
1400
AttachedAnnotationChangedEventArgs
args = null;
1431
args =
AttachedAnnotationChangedEventArgs
.Modified(attachedAnnotation, oldAttachedAnchor, oldAttachmentLevel);
1438
args =
AttachedAnnotationChangedEventArgs
.Deleted(attachedAnnotation);
1456
args =
AttachedAnnotationChangedEventArgs
.Added(attachedAnnotation);
1616
private void FireEvents(List<
AttachedAnnotationChangedEventArgs
> eventsToFire)
1622
foreach (
AttachedAnnotationChangedEventArgs
args in eventsToFire)