Export (0) Print
Expand All

AnnotationGroup Class

Represents a group of annotations.

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

public class AnnotationGroup : Annotation

The AnnotationGroup type exposes the following members.

  NameDescription
Public methodAnnotationGroupInitializes a new instance of the AnnotationGroup class.
Top

  NameDescription
Public propertyAlignmentGets or sets the content alignment of an annotation. (Overrides Annotation.Alignment.)
Public propertyAllowAnchorMovingGets or sets a flag that specifies whether an annotation anchor may be moved with a mouse by the end user. (Overrides Annotation.AllowAnchorMoving.)
Public propertyAllowMovingGets or sets a flag that specifies whether an annotation may be moved with a mouse by the end user. (Overrides Annotation.AllowMoving.)
Public propertyAllowPathEditingGets or sets a flag that specifies whether the points of a polygon annotation may be moved with a mouse by the end user. (Overrides Annotation.AllowPathEditing.)
Public propertyAllowResizingGets or sets a flag that specifies whether an annotation may be resized with a mouse by the end user. (Overrides Annotation.AllowResizing.)
Public propertyAllowSelectingGets or sets a flag that specifies whether an annotation may be selected with a mouse by the end user. (Overrides Annotation.AllowSelecting.)
Public propertyAllowTextEditingGets or sets a flag that specifies whether an annotation's text may be edited when the end user double clicks the text. (Overrides Annotation.AllowTextEditing.)
Public propertyAnchorAlignmentGets or sets the alignment of an annotation to the anchor point. (Inherited from Annotation.)
Public propertyAnchorDataPointGets or sets the data point to which an annotation is anchored. (Inherited from Annotation.)
Public propertyAnchorDataPointNameInfrastructure. Gets or sets the name of a data point to which an annotation is anchored. (Inherited from Annotation.)
Public propertyAnchorOffsetXGets or sets the offset from the anchor point for the X position of an annotation. (Inherited from Annotation.)
Public propertyAnchorOffsetYGets or sets the offset from the anchor point for the Y position of an annotation. (Inherited from Annotation.)
Public propertyAnchorXGets or sets the X coordinate to which the annotation is anchored. (Inherited from Annotation.)
Public propertyAnchorYGets or sets the Y coordinate to which the annotation is anchored. (Inherited from Annotation.)
Public propertyAnnotationGroupInfrastructure. Gets the group, if any, to which the annotation belongs. (Inherited from Annotation.)
Public propertyAnnotationsGets the collection of annotations in the group.
Public propertyAnnotationTypeInfrastructure. Gets the annotation type. (Overrides Annotation.AnnotationType.)
Public propertyAxisXGets or sets the X axis to which an annotation is attached. (Inherited from Annotation.)
Public propertyAxisXNameInfrastructure. Gets or sets the name of the X axis to which an annotation is attached. (Inherited from Annotation.)
Public propertyAxisYGets or sets the Y axis to which an annotation is attached. (Inherited from Annotation.)
Public propertyAxisYNameInfrastructure. Gets or sets the name of the Y axis which an annotation is attached to. (Inherited from Annotation.)
Public propertyBackColorGets or sets the background color of an annotation. (Overrides Annotation.BackColor.)
Public propertyBackGradientStyleGets or sets the background gradient style of an annotation. (Overrides Annotation.BackGradientStyle.)
Public propertyBackHatchStyleGets or sets the hatch style of an annotation background. (Overrides Annotation.BackHatchStyle.)
Public propertyBackSecondaryColorGets or sets the secondary color for the background of an annotation. (Overrides Annotation.BackSecondaryColor.)
Public propertyBottomGets or sets the bottom boundary of an annotation position. (Inherited from Annotation.)
Public propertyClipToChartAreaGets or sets the name of the chart area to which the annotation is clipped. (Overrides Annotation.ClipToChartArea.)
Public propertyFontGets or sets the font to use for the text of an annotation. (Overrides Annotation.Font.)
Public propertyForeColorGets or sets the text color for an annotation. (Overrides Annotation.ForeColor.)
Public propertyHeightGets or sets the height of an annotation. (Inherited from Annotation.)
Public propertyIsSelectedGets or sets a flag that determines if an annotation is selected. (Overrides Annotation.IsSelected.)
Public propertyIsSizeAlwaysRelativeGets or sets a flag that specifies whether the size of an annotation is always defined in relative chart coordinates. (Overrides Annotation.IsSizeAlwaysRelative.)
Public propertyLineColorGets or sets the line color of the annotation. (Overrides Annotation.LineColor.)
Public propertyLineDashStyleGets or sets the line style of the annotation. (Overrides Annotation.LineDashStyle.)
Public propertyLineWidthGets or sets the line width, in pixels, of the annotation. (Overrides Annotation.LineWidth.)
Public propertyNameGets or sets the unique name of an annotation. (Inherited from Annotation.)
Public propertyRightGets or sets the right boundary position of an annotation. (Inherited from Annotation.)
Public propertyShadowColorGets or sets the color of the annotation's shadow. (Overrides Annotation.ShadowColor.)
Public propertyShadowOffsetGets or sets the size of the annotation's shadow. (Overrides Annotation.ShadowOffset.)
Public propertySmartLabelStyleGets or sets the smart label style of an annotation. (Inherited from Annotation.)
Public propertyTagGets or sets an object associated with this chart element. (Inherited from ChartElement.)
Public propertyTextStyleGets or sets the text style of an annotation. (Overrides Annotation.TextStyle.)
Public propertyToolTipGets or sets the tooltip text for an annotation. (Inherited from Annotation.)
Public propertyVisibleGets or sets a flag that indicates whether the annotation is visible. (Overrides Annotation.Visible.)
Public propertyWidthGets or sets the width, in pixels, of an annotation. (Inherited from Annotation.)
Public propertyXGets or sets the X coordinate of an annotation. (Inherited from Annotation.)
Public propertyYGets or sets the Y coordinate of the annotation. (Inherited from Annotation.)
Public propertyYAxisNameInfrastructure. Gets or sets the name of the Y axis to which an annotation is attached. (Inherited from Annotation.)
Top

  NameDescription
Public methodBeginPlacementBegins the end user placement of an annotation using the mouse. (Inherited from Annotation.)
Public methodBringToFrontBrings an annotation to the front of all annotations. (Inherited from Annotation.)
Public methodDispose()Releases the resources used by the ChartElement. (Inherited from ChartElement.)
Protected methodDispose(Boolean)Releases unmanaged and, optionally, managed resources. (Overrides Annotation.Dispose(Boolean).)
Public methodEndPlacementEnds the end user placement of an annotation. (Inherited from Annotation.)
Public methodEqualsDetermines whether the specified Object is equal to the current ChartElement. (Inherited from ChartElement.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns a hash function for a particular type. (Inherited from ChartElement.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodResizeToContentResizes an annotation according to its content size. (Inherited from Annotation.)
Public methodSendToBackSends an annotation to the back of all the annotations. (Inherited from Annotation.)
Public methodSetAnchor(DataPoint)Anchors an annotation to the specified data point. (Inherited from Annotation.)
Public methodSetAnchor(DataPoint, DataPoint)Anchors an annotation to two data points. (Inherited from Annotation.)
Public methodToStringReturns a string that represents the current Object. (Inherited from ChartElement.)
Top

The AnnotationGroup class represents a collection of annotations. This class can be used to manipulate annotations relative to each other.

.NET Framework

Supported in: 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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