Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AnnotationResourceChangedEventArgs Class

AnnotationResourceChangedEventArgs Class

Provides data for the AnchorChanged and CargoChanged events.


Namespace:  System.Windows.Annotations
Assembly:  PresentationFramework (in PresentationFramework.dll)

public sealed class AnnotationResourceChangedEventArgs : EventArgs

The AnnotationResourceChangedEventArgs type exposes the following members.

Public methodAnnotationResourceChangedEventArgsInitializes a new instance of the AnnotationResourceChangedEventArgs class.

Public propertyActionGets the action of the annotation Resource.
Public propertyAnnotationGets the Annotation that raised the event.
Public propertyResourceGets the Anchors or Cargos resource associated with the event.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

The AnnotationResourceChangedEventArgs data includes the Annotation that raised the event, the anchor or cargo resource associated with the event, and the action that was taken - Added, Removed, or Modified.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft