AnnotationResourceChangedEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the AnnotationResourceChangedEventArgs(Annotation, AnnotationAction, AnnotationResource) class.
public:
AnnotationResourceChangedEventArgs(System::Windows::Annotations::Annotation ^ annotation, System::Windows::Annotations::AnnotationAction action, System::Windows::Annotations::AnnotationResource ^ resource);
public AnnotationResourceChangedEventArgs (System.Windows.Annotations.Annotation annotation, System.Windows.Annotations.AnnotationAction action, System.Windows.Annotations.AnnotationResource resource);
new System.Windows.Annotations.AnnotationResourceChangedEventArgs : System.Windows.Annotations.Annotation * System.Windows.Annotations.AnnotationAction * System.Windows.Annotations.AnnotationResource -> System.Windows.Annotations.AnnotationResourceChangedEventArgs
Public Sub New (annotation As Annotation, action As AnnotationAction, resource As AnnotationResource)
Parameters
- annotation
- Annotation
The annotation that raised the event.
- action
- AnnotationAction
The action of the event.
- resource
- AnnotationResource
Exceptions
annotation
or action
is null
.
action
is not a valid AnnotationAction value.