AnnotationResourceChangedEventArgs Constructor (Annotation^, AnnotationAction, AnnotationResource^)

 

Initializes a new instance of the AnnotationResourceChangedEventArgs class.

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

public:
AnnotationResourceChangedEventArgs(
	Annotation^ annotation,
	AnnotationAction action,
	AnnotationResource^ resource
)

Parameters

annotation
Type: System.Windows.Annotations::Annotation^

The annotation that raised the event.

action
Type: System.Windows.Annotations::AnnotationAction

The action of the event.

resource
Type: System.Windows.Annotations::AnnotationResource^

The Anchors or Cargos resource of the event.

Exception Condition
ArgumentNullException

annotation or action is null.

InvalidEnumArgumentException

action is not a valid AnnotationAction value.

.NET Framework
Available since 3.0
Return to top
Show: