AlternateText Property
Collapse the table of content
Expand the table of content

Image.AlternateText Property

 

Gets or sets the alternate text to display when an image is not available for the device. The default value is an empty string (""). This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

[BindableAttribute(true)]
public string AlternateText { get; set; }

Property Value

Type: System.String

The alternate text to display when an image is not available for the device.

The alternate text appears in browsers that do not support images or where the image file is not available.

.NET Framework
Available since 1.1

Image Class
System.Web.UI.MobileControls Namespace
Introduction to the Image Control
Adding and Configuring an Image Control

Return to top
Show:
© 2016 Microsoft