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