共用方式為


Title.BackGradientStyle 屬性

定義

取得或設定標題背景漸層的方向。 同時也決定是否使用梯度。

public:
 property System::Web::UI::DataVisualization::Charting::GradientStyle BackGradientStyle { System::Web::UI::DataVisualization::Charting::GradientStyle get(); void set(System::Web::UI::DataVisualization::Charting::GradientStyle value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.GradientStyle BackGradientStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.BackGradientStyle : System.Web.UI.DataVisualization.Charting.GradientStyle with get, set
Public Property BackGradientStyle As GradientStyle

屬性值

一個 GradientStyle 列舉,代表標題背景漸變的方向。 預設值為 None

屬性

備註

利用該 BackGradientStyle 屬性判斷標題是否會顯示漸層,以及如果使用漸層的方向。

有關可用模式的清單,請參閱列舉。GradientStyle

使用漸層色:

用該 BackColor 物業設定標題背景的主色。

用屬性設定標題背景 BackSecondaryColor 的次要顏色。

將此 BackGradientStyle 屬性設定為所需的漸層風格。

適用於