38 references to AnnotationAction
PresentationFramework (38)
System\Windows\Annotations\Annotation.cs (23)
693
FireResourceEvent((AnnotationResource)sender,
AnnotationAction
.Modified, CargoChanged);
698
AnnotationAction
action =
AnnotationAction
.Added;
704
action =
AnnotationAction
.Added;
709
action =
AnnotationAction
.Removed;
719
FireResourceEvent(cargo,
AnnotationAction
.Removed, CargoChanged);
747
FireResourceEvent((AnnotationResource)sender,
AnnotationAction
.Modified, AnchorChanged);
752
AnnotationAction
action =
AnnotationAction
.Added;
758
action =
AnnotationAction
.Added;
763
action =
AnnotationAction
.Removed;
773
FireResourceEvent(anchor,
AnnotationAction
.Removed, AnchorChanged);
801
AnnotationAction
action =
AnnotationAction
.Added;
807
action =
AnnotationAction
.Added;
812
action =
AnnotationAction
.Removed;
822
FireAuthorEvent(author,
AnnotationAction
.Removed);
853
private void FireAuthorEvent(Object author,
AnnotationAction
action)
856
Invariant.Assert(action >=
AnnotationAction
.Added && action <=
AnnotationAction
.Modified, "Unknown AnnotationAction");
873
private void FireResourceEvent(AnnotationResource resource,
AnnotationAction
action, AnnotationResourceChangedEventHandler handlers)
876
Invariant.Assert(action >=
AnnotationAction
.Added && action <=
AnnotationAction
.Modified, "Unknown AnnotationAction");
System\Windows\Annotations\AnnotationAuthorChangedEventArgs.cs (6)
48
public AnnotationAuthorChangedEventArgs(Annotation annotation,
AnnotationAction
action, Object author)
54
if (action <
AnnotationAction
.Added || action >
AnnotationAction
.Modified)
56
throw new InvalidEnumArgumentException("action", (int)action, typeof(
AnnotationAction
));
99
public
AnnotationAction
Action
130
private
AnnotationAction
_action;
System\Windows\Annotations\AnnotationResourceChangedEventArgs.cs (6)
48
public AnnotationResourceChangedEventArgs(Annotation annotation,
AnnotationAction
action, AnnotationResource resource)
54
if (action <
AnnotationAction
.Added || action >
AnnotationAction
.Modified)
56
throw new InvalidEnumArgumentException("action", (int)action, typeof(
AnnotationAction
));
99
public
AnnotationAction
Action
130
private
AnnotationAction
_action;
System\Windows\Annotations\AnnotationService.cs (3)
1249
case
AnnotationAction
.Added:
1253
case
AnnotationAction
.Removed:
1257
case
AnnotationAction
.Modified: