Επεξεργασία

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


Title.Position Property

Definition

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

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

An ElementPosition value that represents the position of the title. The default value is Auto.

Attributes

Remarks

If the Position property is automatic (that is, Title.Position.Auto = true) the title 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 title position is solely determined by the value of the returned ElementPosition object.

Applies to