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 設定為所需的漸層樣式。

適用於