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