Windows apps
Collapse the table of content
Expand the table of content
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.NewAnchorLocationX Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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
Available since 4.0
Return to top
© 2018 Microsoft