AnnotationAuthorChangedEventArgs Constructor (Annotation^, AnnotationAction, Object^)

 

Initializes a new instance of the AnnotationAuthorChangedEventArgs class.

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

public:
AnnotationAuthorChangedEventArgs(
	Annotation^ annotation,
	AnnotationAction action,
	Object^ author
)

Parameters

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

The annotation raising the event.

action
Type: System.Windows.Annotations::AnnotationAction

The author operation performed: Added, Removed, or Modified.

author
Type: System::Object^

The author object being changed by the event.

Exception Condition
ArgumentNullException

annotation or action is a null reference (Nothing in Visual Basic).

InvalidEnumArgumentException

action is an invalid AnnotationAction.

AnnotationAuthorChangedEventArgs is passed as a parameter to the AnnotationAuthorChangedEventHandler whenever an AuthorChanged event occurs on an annotation.

.NET Framework
Available since 3.0
Return to top
Show: