Modifier

Partager via


Title.BackImage Property

Definition

Gets or sets the background image of the title.

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

Property Value

A string value that represents the URL of an image file. The default is an empty string.

Attributes

Remarks

This property defines a path to a background image for a Chart title, and can be an absolute or relative URL.

To position the image, use the BackImageAlignment and BackImageWrapMode properties.

You can also specify one of the colors displayed by the image as "transparent", by setting the BackImageTransparentColor property.

An image be any valid graphics file supported by .NET Framework, including icons.

Background images take precedence over other background properties such as gradient color.

Applies to