AnnotationPositionChangingEventArgs Class

Definition

Provides data for the events in the Chart control that change the position of the annotation.

public ref class AnnotationPositionChangingEventArgs : EventArgs
public class AnnotationPositionChangingEventArgs : EventArgs
type AnnotationPositionChangingEventArgs = class
    inherit EventArgs
Public Class AnnotationPositionChangingEventArgs
Inherits EventArgs
Inheritance
AnnotationPositionChangingEventArgs

Remarks

The AnnotationPositionChangingEventArgs class is used for the two annotation-positioning events, AnnotationPositionChanging and AnnotationPositionChanged, in the Chart control.

The Annotation property gets the annotation object that is being positioned. This class also contains properties that retrieve the new location, width, height and anchor location of the annotation that is repositioned.

Constructors

AnnotationPositionChangingEventArgs()

Initializes a new instance of the AnnotationPositionChangingEventArgs class.

Properties

Annotation

Gets or sets the Annotation object.

NewAnchorLocation

Gets or sets the new anchor location of the annotation.

NewAnchorLocationX

Gets or sets the new annotation anchor point X location.

NewAnchorLocationY

Gets or sets the new annotation anchor point Y location.

NewLocationX

Gets or sets the new X coordinate location of the annotation.

NewLocationY

Gets or sets the new Y coordinate of the annotation location.

NewPosition

Gets or sets the new location and size of the annotation.

NewSizeHeight

Gets or sets the new height of the annotation.

NewSizeWidth

Gets or sets the new width of the annotation.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to