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