Legend.IsDockedInsideChartArea 屬性

定義

取得或設定旗標,這個旗標表示圖例是停駐於圖表區域的內部還是外部。

public:
 property bool IsDockedInsideChartArea { bool get(); void set(bool value); };
[System.ComponentModel.Bindable(true)]
public bool IsDockedInsideChartArea { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.IsDockedInsideChartArea : bool with get, set
Public Property IsDockedInsideChartArea As Boolean

屬性值

Boolean

true 為圖例停駐於圖表區域的內部,如果停駐於圖表區域的外部,則為 false。 預設值是 false

屬性

備註

只有當 DockedToChartArea 屬性設定為物件的名稱時,這個屬性才會有作用 ChartArea

注意

如果 Position 屬性設定為以外的任何值 Auto ,則 IsDockedInsideChartArea 屬性也不會有任何作用。 這是因為圖例的位置是由屬性設定所決定 Position

適用於