BackImageUrl Property
Collapse the table of content
Expand the table of content

FormView.BackImageUrl Property

 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

abstract BackImageUrl : string with get, set
override BackImageUrl : string with get, set

Property Value

Type: System.String

The URL to an image to display in the background of the FormView control. The default is an empty string (""), which indicates that this property is not set.

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

System_CAPS_noteNote

If the specified image is smaller than the FormView control, the image is tiled to fill in the background. If the image is larger than the control, the image is cropped.

The following example demonstrates how to use the BackImageUrl property to display a custom image in the background of a FormView control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft