38 references to AnnotationAction
PresentationFramework (38)
src\Framework\System\Windows\Annotations\Annotation.cs (23)
722
FireResourceEvent((AnnotationResource)sender,
AnnotationAction
.Modified, CargoChanged);
727
AnnotationAction
action =
AnnotationAction
.Added;
733
action =
AnnotationAction
.Added;
738
action =
AnnotationAction
.Removed;
748
FireResourceEvent(cargo,
AnnotationAction
.Removed, CargoChanged);
776
FireResourceEvent((AnnotationResource)sender,
AnnotationAction
.Modified, AnchorChanged);
781
AnnotationAction
action =
AnnotationAction
.Added;
787
action =
AnnotationAction
.Added;
792
action =
AnnotationAction
.Removed;
802
FireResourceEvent(anchor,
AnnotationAction
.Removed, AnchorChanged);
830
AnnotationAction
action =
AnnotationAction
.Added;
836
action =
AnnotationAction
.Added;
841
action =
AnnotationAction
.Removed;
851
FireAuthorEvent(author,
AnnotationAction
.Removed);
882
private void FireAuthorEvent(Object author,
AnnotationAction
action)
885
Invariant.Assert(action >=
AnnotationAction
.Added && action <=
AnnotationAction
.Modified, "Unknown AnnotationAction");
902
private void FireResourceEvent(AnnotationResource resource,
AnnotationAction
action, AnnotationResourceChangedEventHandler handlers)
905
Invariant.Assert(action >=
AnnotationAction
.Added && action <=
AnnotationAction
.Modified, "Unknown AnnotationAction");
src\Framework\System\Windows\Annotations\AnnotationAuthorChangedEventArgs.cs (6)
55
public AnnotationAuthorChangedEventArgs(Annotation annotation,
AnnotationAction
action, Object author)
65
if (action <
AnnotationAction
.Added || action >
AnnotationAction
.Modified)
67
throw new InvalidEnumArgumentException("action", (int)action, typeof(
AnnotationAction
));
110
public
AnnotationAction
Action
141
private
AnnotationAction
_action;
src\Framework\System\Windows\Annotations\AnnotationResourceChangedEventArgs.cs (6)
55
public AnnotationResourceChangedEventArgs(Annotation annotation,
AnnotationAction
action, AnnotationResource resource)
65
if (action <
AnnotationAction
.Added || action >
AnnotationAction
.Modified)
67
throw new InvalidEnumArgumentException("action", (int)action, typeof(
AnnotationAction
));
110
public
AnnotationAction
Action
141
private
AnnotationAction
_action;
src\Framework\System\Windows\Annotations\AnnotationService.cs (3)
1307
case
AnnotationAction
.Added:
1311
case
AnnotationAction
.Removed:
1315
case
AnnotationAction
.Modified: