Export (0) Print
Expand All

AnnotationSmartLabelStyle Class

Stores the smart label properties of an annotation.

System.Object
  System.Windows.Forms.DataVisualization.Charting.SmartLabelStyle
    System.Windows.Forms.DataVisualization.Charting.AnnotationSmartLabelStyle

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

public class AnnotationSmartLabelStyle : SmartLabelStyle

The AnnotationSmartLabelStyle type exposes the following members.

  NameDescription
Public methodAnnotationSmartLabelStyle()Initializes a new instance of the AnnotationSmartLabelStyle class.
Public methodAnnotationSmartLabelStyle(Object)Initializes a new instance of the AnnotationSmartLabelStyle class with the specified chart element.
Top

  NameDescription
Public propertyAllowOutsidePlotAreaGets or sets a flag that specifies whether a SmartLabelStyle object can be drawn outside the plotting area. (Inherited from SmartLabelStyle.)
Public propertyCalloutBackColorInfrastructure. Gets or sets the back color of the label callout. This property is only applicable when the CalloutStyle property is set to a value of Box. (Overrides SmartLabelStyle.CalloutBackColor.)
Public propertyCalloutLineAnchorCapStyleInfrastructure. Gets or sets the anchor cap style for the label callout line. (Overrides SmartLabelStyle.CalloutLineAnchorCapStyle.)
Public propertyCalloutLineColorInfrastructure. Gets or sets the color of the label callout line. (Overrides SmartLabelStyle.CalloutLineColor.)
Public propertyCalloutLineDashStyleInfrastructure. Gets or sets the style of the label callout line. (Overrides SmartLabelStyle.CalloutLineDashStyle.)
Public propertyCalloutLineWidthInfrastructure. Gets or sets the width of the label callout line. (Overrides SmartLabelStyle.CalloutLineWidth.)
Public propertyCalloutStyleInfrastructure. Gets or sets the callout style of the repositioned smart labels. (Overrides SmartLabelStyle.CalloutStyle.)
Public propertyEnabledGets or sets a flag that indicates whether a SmartLabelStyle algorithm is enabled. (Inherited from SmartLabelStyle.)
Public propertyIsMarkerOverlappingAllowedGets or sets a flag that specifies whether the point labels are allowed to overlap a point marker. (Inherited from SmartLabelStyle.)
Public propertyIsOverlappedHiddenGets or sets a flag that indicates whether overlapped labels that cannot be repositioned will be hidden. (Inherited from SmartLabelStyle.)
Public propertyMaxMovingDistanceGets or sets the maximum distance, in pixels, that the overlapped SmartLabelStyle object can be moved from the marker. (Inherited from SmartLabelStyle.)
Public propertyMinMovingDistanceGets or sets the minimum distance, in pixels, that the overlapped SmartLabelStyle object can be moved from the marker. (Inherited from SmartLabelStyle.)
Public propertyMovingDirectionGets or sets the direction(s) in which the overlapped SmartLabelStyle object is allowed to be moved. (Inherited from SmartLabelStyle.)
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
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 methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

This class is derived from the SmartLabelStyle class used for Series objects.

.NET Framework

Supported in: 4.6, 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