This class provides data for the annotation position changing events of the Chart control.
This class is used to stores position changing event data for an annotation.
Visual Basic (Declaration) | |
---|---|
Public Class AnnotationPositionChangingEventArgs Inherits EventArgs |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class AnnotationPositionChangingEventArgs : EventArgs |
The AnnotationPositionChangingEventArgs argument object is used for the two annotation positioning events, AnnotationPositionChanging and AnnotationPositionChanged.
The Annotation property gets the annotation object that is being positioned. There are also properties to retrieve the new location, width, height and anchor location of the annotation that was re-positioned.
Provides additional data like the new annotation and anchor position when an end user is moving the annotation with the mouse.
Can be used to restrict annotation movement, or snap the annotation position to specific points.
System.Object
System.EventArgs
Dundas.Charting.WinControl.AnnotationPositionChangingEventArgs
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family