AnnotationResourceChangedEventArgs 构造函数

定义

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)

参数

annotation
Annotation

引发事件的批注。

action
AnnotationAction

事件的操作。

resource
AnnotationResource

事件的 AnchorsCargos 资源。

例外

annotationactionnull

action 不是有效的 AnnotationAction 值。

适用于