Επεξεργασία

Κοινή χρήση μέσω


Legend.Docking Property

Definition

Gets or sets a value that determines whether the legend is docked.

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

Property Value

A Docking enumeration value that determines whether the legend is docked. The default value is Right.

Attributes

Remarks

The Legend can be docked to the top, left, bottom or right of either the entire chart image, or the inside or outside of a chart area. If the IsDockedInsideChartArea property is set to false, docking applies to the entire chart image. If the IsDockedInsideChartArea property is set to true, docking applies to the ChartArea object specified by the DockedToChartArea property

This property has no effect if the Position property is not set to Auto.

Applies to