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