38 references to AnnotationAction
PresentationFramework (38)
System\Windows\Annotations\Annotation.cs (23)
697
FireResourceEvent((AnnotationResource)sender,
AnnotationAction
.Modified, CargoChanged);
702
AnnotationAction
action =
AnnotationAction
.Added;
708
action =
AnnotationAction
.Added;
713
action =
AnnotationAction
.Removed;
723
FireResourceEvent(cargo,
AnnotationAction
.Removed, CargoChanged);
751
FireResourceEvent((AnnotationResource)sender,
AnnotationAction
.Modified, AnchorChanged);
756
AnnotationAction
action =
AnnotationAction
.Added;
762
action =
AnnotationAction
.Added;
767
action =
AnnotationAction
.Removed;
777
FireResourceEvent(anchor,
AnnotationAction
.Removed, AnchorChanged);
805
AnnotationAction
action =
AnnotationAction
.Added;
811
action =
AnnotationAction
.Added;
816
action =
AnnotationAction
.Removed;
826
FireAuthorEvent(author,
AnnotationAction
.Removed);
857
private void FireAuthorEvent(Object author,
AnnotationAction
action)
860
Invariant.Assert(action >=
AnnotationAction
.Added && action <=
AnnotationAction
.Modified, "Unknown AnnotationAction");
877
private void FireResourceEvent(AnnotationResource resource,
AnnotationAction
action, AnnotationResourceChangedEventHandler handlers)
880
Invariant.Assert(action >=
AnnotationAction
.Added && action <=
AnnotationAction
.Modified, "Unknown AnnotationAction");
System\Windows\Annotations\AnnotationAuthorChangedEventArgs.cs (6)
50
public AnnotationAuthorChangedEventArgs(Annotation annotation,
AnnotationAction
action, Object author)
56
if (action <
AnnotationAction
.Added || action >
AnnotationAction
.Modified)
58
throw new InvalidEnumArgumentException("action", (int)action, typeof(
AnnotationAction
));
101
public
AnnotationAction
Action
132
private
AnnotationAction
_action;
System\Windows\Annotations\AnnotationResourceChangedEventArgs.cs (6)
50
public AnnotationResourceChangedEventArgs(Annotation annotation,
AnnotationAction
action, AnnotationResource resource)
56
if (action <
AnnotationAction
.Added || action >
AnnotationAction
.Modified)
58
throw new InvalidEnumArgumentException("action", (int)action, typeof(
AnnotationAction
));
101
public
AnnotationAction
Action
132
private
AnnotationAction
_action;
System\Windows\Annotations\AnnotationService.cs (3)
1267
case
AnnotationAction
.Added:
1271
case
AnnotationAction
.Removed:
1275
case
AnnotationAction
.Modified: