Share via


Title.BackImage 屬性

定義

取得或設定標題的背景影像。

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

屬性值

String

string 值,表示影像檔案的 URL。 預設為空字串。

屬性

備註

這個屬性會定義標題的背景影像路徑 Chart ,而且可以是絕對或相對 URL。

若要放置影像,請使用 BackImageAlignmentBackImageWrapMode 屬性。

您也可以藉由設定屬性,將影像所顯示的其中一種色彩指定為「透明」 BackImageTransparentColor

影像是 .NET Framework 所支援的任何有效圖形檔案,包括圖示。

背景影像會優先于其他背景屬性,例如漸層色彩。

適用於