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