Table.BackImageUrl Property


Gets or sets the URL of the background image to display behind the Table control.

 virtual property System::String ^ BackImageUrl { System::String ^ get(); void set(System::String ^ value); };
public virtual string BackImageUrl { get; set; }
member this.BackImageUrl : string with get, set
Public Overridable Property BackImageUrl As String

Property Value

The URL of the background image for the Table control. The default value is Empty.



Use the BackImageUrl property to specify the location of an image to display in the background of the Table control. You can use a relative or an absolute URL. A relative URL relates the location of the image to the location of the Web page or user control without specifying a complete path on the server. The path is relative to the location of the Web page. This makes it easier to move the entire site to another directory on the server without updating the path to the image in code. An absolute URL provides the complete path, so moving the site to another directory requires updating the code.


If the image is smaller than the Table control, it will be tiled.

Applies to

See also