38 references to AnnotationAction
PresentationFramework (38)
System\Windows\Annotations\Annotation.cs (23)
694FireResourceEvent((AnnotationResource)sender, AnnotationAction.Modified, CargoChanged); 699AnnotationAction action = AnnotationAction.Added; 705action = AnnotationAction.Added; 710action = AnnotationAction.Removed; 720FireResourceEvent(cargo, AnnotationAction.Removed, CargoChanged); 748FireResourceEvent((AnnotationResource)sender, AnnotationAction.Modified, AnchorChanged); 753AnnotationAction action = AnnotationAction.Added; 759action = AnnotationAction.Added; 764action = AnnotationAction.Removed; 774FireResourceEvent(anchor, AnnotationAction.Removed, AnchorChanged); 802AnnotationAction action = AnnotationAction.Added; 808action = AnnotationAction.Added; 813action = AnnotationAction.Removed; 823FireAuthorEvent(author, AnnotationAction.Removed); 854private void FireAuthorEvent(Object author, AnnotationAction action) 857Invariant.Assert(action >= AnnotationAction.Added && action <= AnnotationAction.Modified, "Unknown AnnotationAction"); 874private void FireResourceEvent(AnnotationResource resource, AnnotationAction action, AnnotationResourceChangedEventHandler handlers) 877Invariant.Assert(action >= AnnotationAction.Added && action <= AnnotationAction.Modified, "Unknown AnnotationAction");
System\Windows\Annotations\AnnotationAuthorChangedEventArgs.cs (6)
49public AnnotationAuthorChangedEventArgs(Annotation annotation, AnnotationAction action, Object author) 55if (action < AnnotationAction.Added || action > AnnotationAction.Modified) 57throw new InvalidEnumArgumentException("action", (int)action, typeof(AnnotationAction)); 100public AnnotationAction Action 131private AnnotationAction _action;
System\Windows\Annotations\AnnotationResourceChangedEventArgs.cs (6)
49public AnnotationResourceChangedEventArgs(Annotation annotation, AnnotationAction action, AnnotationResource resource) 55if (action < AnnotationAction.Added || action > AnnotationAction.Modified) 57throw new InvalidEnumArgumentException("action", (int)action, typeof(AnnotationAction)); 100public AnnotationAction Action 131private AnnotationAction _action;
System\Windows\Annotations\AnnotationService.cs (3)
1250case AnnotationAction.Added: 1254case AnnotationAction.Removed: 1258case AnnotationAction.Modified: