This documentation is archived and is not being maintained.

TableStyle.BackImageUrl Property

Gets or sets the URL of an image to display in the background of a table control.

[Visual Basic]
Public Overridable Property BackImageUrl As String
[C#]
public virtual string BackImageUrl {get; set;}
[C++]
public: __property virtual String* get_BackImageUrl();
public: __property virtual void set_BackImageUrl(String*);
[JScript]
public function get BackImageUrl() : String;
public function set BackImageUrl(String);

Property Value

The URL of an image to display in the background of a table control. The default is String.Empty.

Exceptions

Exception Type Condition
ArgumentNullException The URL of the background image was set to a null reference (Nothing in Visual Basic).

Remarks

Use the BackImageUrl property to specify the URL of an image to display in the background of the table control.

Note   The image will be tiled if it is smaller than the table. Similarly, the image is cropped if it is larger than the table.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

TableStyle Class | TableStyle Members | System.Web.UI.WebControls Namespace

Show: