38 references to AnnotationAction
PresentationFramework (38)
System\Windows\Annotations\Annotation.cs (23)
690FireResourceEvent((AnnotationResource)sender, AnnotationAction.Modified, CargoChanged); 695AnnotationAction action = AnnotationAction.Added; 701action = AnnotationAction.Added; 706action = AnnotationAction.Removed; 716FireResourceEvent(cargo, AnnotationAction.Removed, CargoChanged); 744FireResourceEvent((AnnotationResource)sender, AnnotationAction.Modified, AnchorChanged); 749AnnotationAction action = AnnotationAction.Added; 755action = AnnotationAction.Added; 760action = AnnotationAction.Removed; 770FireResourceEvent(anchor, AnnotationAction.Removed, AnchorChanged); 798AnnotationAction action = AnnotationAction.Added; 804action = AnnotationAction.Added; 809action = AnnotationAction.Removed; 819FireAuthorEvent(author, AnnotationAction.Removed); 850private void FireAuthorEvent(Object author, AnnotationAction action) 853Invariant.Assert(action >= AnnotationAction.Added && action <= AnnotationAction.Modified, "Unknown AnnotationAction"); 870private void FireResourceEvent(AnnotationResource resource, AnnotationAction action, AnnotationResourceChangedEventHandler handlers) 873Invariant.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)
1255case AnnotationAction.Added: 1259case AnnotationAction.Removed: 1263case AnnotationAction.Modified: