Title.IsDockedInsideChartArea 屬性

定義

取得或設定旗標,這個旗標指定標題是否應停駐於 ChartArea 物件內部。

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

屬性值

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

屬性

備註

IsDockedInsideChartArea如果屬性設定 false 為 ,則標題會停駐到繪圖圖表區域的外部邊緣;如果此屬性設定 true 為 ,則標題會停駐在圖表區域的內部邊緣。 如果未將物件的名稱 ChartArea 指派給 DockedToChartArea 屬性,這個屬性就不會有任何作用。

注意只有當 屬性設定為 Auto 時, Position 才會套用此行為。如果不是這種情況,則設定 IsDockedInsideChartArea 屬性沒有任何作用,因為標題的位置會由 Position 屬性值決定。

適用於