Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
NewAnchorLocationX Property

AnnotationPositionChangingEventArgs.NewAnchorLocationX Property

.NET Framework 4.6 and 4.5

Gets or sets the new annotation anchor point X location.

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

public double NewAnchorLocationX { get; set; }

Property Value

Type: System.Double
A double value that represents the new annotation anchor point X location.

When the AnnotationPositionChanging and AnnotationPositionChanging events are raised, the NewAnchorLocationX property determines the new X coordinate of the annotation. This information is useful when the annotation is newly anchored to a data point.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft