Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AnnotationPositionChangingEventArgs Class

.NET Framework (current version)
 

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

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

System.Object
  System.EventArgs
    System.Windows.Forms.DataVisualization.Charting.AnnotationPositionChangingEventArgs

public class AnnotationPositionChangingEventArgs : EventArgs

NameDescription
System_CAPS_pubmethodAnnotationPositionChangingEventArgs()

Initializes a new instance of the T:System.Windows.Forms.DataVisualization.AnnotationPositionChangingEventArgs class.

NameDescription
System_CAPS_pubpropertyAnnotation

Gets or sets the Annotation object.

System_CAPS_pubpropertyNewAnchorLocation

Gets or sets the new anchor location of the annotation.

System_CAPS_pubpropertyNewAnchorLocationX

Gets or sets the new annotation anchor point X location.

System_CAPS_pubpropertyNewAnchorLocationY

Gets or sets the new annotation anchor point Y location.

System_CAPS_pubpropertyNewLocationX

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

System_CAPS_pubpropertyNewLocationY

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

System_CAPS_pubpropertyNewPosition

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

System_CAPS_pubpropertyNewSizeHeight

Gets or sets the new height of the annotation.

System_CAPS_pubpropertyNewSizeWidth

Gets or sets the new width of the annotation.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft