Annotation.CargoChanged 事件

定义

在批注 Cargos 的列表中添加、移除或修改 cargo 时发生。

public:
 event System::Windows::Annotations::AnnotationResourceChangedEventHandler ^ CargoChanged;
public event System.Windows.Annotations.AnnotationResourceChangedEventHandler CargoChanged;
member this.CargoChanged : System.Windows.Annotations.AnnotationResourceChangedEventHandler 
Public Custom Event CargoChanged As AnnotationResourceChangedEventHandler 
Public Event CargoChanged As AnnotationResourceChangedEventHandler 

事件类型

注解

除了添加或删除货物时, CargoChanged 还发生在对货物子部件的任何修改时,例如 XmlElement 对货物集合中的 Contents 更改。

适用于