System.Web.UI.WebControls.Image Members

The members of System.Web.UI.WebControls.Image are listed below.

See Also: Inherited members from System.Web.UI.WebControls.WebControl

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.Image class.

Public Properties

AlternateTextstring.

Gets or sets the alternate text displayed in the System.Web.UI.WebControls.Image control when the image is unavailable. Browsers that support the ToolTips feature display this text as a ToolTip.

DescriptionUrlstring.

Gets or sets the location to a detailed description for the image.

override
Enabledbool.

Gets or sets a value indicating whether the control is enabled.

[read-only]
override
FontFontInfo.

Gets the font properties for the text associated with the control.

GenerateEmptyAlternateTextbool.

Gets or sets a value indicating whether the control generates an alternate text attribute for an empty string value.

ImageAlignImageAlign.

Gets or sets the alignment of the System.Web.UI.WebControls.Image control in relation to other elements on the Web page.

ImageUrlstring.

Gets or sets the URL that provides the path to an image to display in the System.Web.UI.WebControls.Image control.

Protected Methods

override
AddAttributesToRender(System.Web.UI.HtmlTextWriter)

Adds the attributes of an System.Web.UI.WebControls.Image to the output stream for rendering on the client.

override
RenderContents(System.Web.UI.HtmlTextWriter)

Renders the image control contents to the specified writer.