ערוך

שתף באמצעות


Legend.Position Property

Definition

Gets or sets an ElementPosition object, which can be used to get or set the position of the legend.

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

Property Value

If the Position property is automatic (that is, Legend.Position.Auto = true) the legend position is calculated automatically by the Chart control, taking into account the Docking, Alignment and IsDockedInsideChartArea property settings.

If it is not automatic, the Docking, DockedToChartArea and IsDockedInsideChartArea properties are ignored, and the legend position is solely determined by the value of the returned ElementPosition object.

Attributes

Applies to