|Visual Basic (Declaration)|
Public Event MarkChanged As AnnotationMarkHandler
|Visual Basic (Usage)||Copy Code|
Dim instance As Annotation Dim handler As AnnotationMarkHandler AddHandler instance.MarkChanged, handler
public event AnnotationMarkHandler MarkChanged
In JScript, you can handle the events defined by another class, but you cannot define your own.
|Managed Extensions for C++|
public: __event AnnotationMarkHandler* MarkChanged
public: event AnnotationMarkHandler^ MarkChanged
The event handler receives an argument of type AnnotationMarkEventArgs containing data related to this event. The following AnnotationMarkEventArgs properties provide information specific to this event.
|Mark||Gets or sets the mark that has changed.|
This event will fire when a property of the mark has changed. For example when the ForeColor changes whether this has been done via a context menu, the toolbar, or programmatically.
This event will also fire when the user is done updating the size or location by grabbing and moving a handle. This will not be drawn while the object is being sized or moved, only when it is done. This event will also not fire if the location or size are set programmatically.
This call could easily become recursive if you set a property in response to an event. So this event is "blocked" when inside the event itself preventing this from happening. In other words if you change a property in response to this event it will not generate another changed event.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2