Legend.Position Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示