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