Annotation.SmartLabelStyle Property

Definition

Gets or sets the smart label style of an annotation.

public:
 property System::Windows::Forms::DataVisualization::Charting::AnnotationSmartLabelStyle ^ SmartLabelStyle { System::Windows::Forms::DataVisualization::Charting::AnnotationSmartLabelStyle ^ get(); void set(System::Windows::Forms::DataVisualization::Charting::AnnotationSmartLabelStyle ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.Browsable(true)]
public System.Windows.Forms.DataVisualization.Charting.AnnotationSmartLabelStyle SmartLabelStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.Browsable(true)>]
member this.SmartLabelStyle : System.Windows.Forms.DataVisualization.Charting.AnnotationSmartLabelStyle with get, set
Public Property SmartLabelStyle As AnnotationSmartLabelStyle

Property Value

An AnnotationSmartLabelStyle object that represents an annotation's smart labels style properties.

Attributes

Remarks

Smart labels are used to prevent an annotation from overlapping the data point labels and other annotations.

Note

Data point labels must also have smart labels enabled.

Applies to