System.Web.UI.WebControls.ImageField: Property Members

The properties of System.Web.UI.WebControls.ImageField are listed below. For a list of all members, see the ImageField Members list.

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

Public Properties

AlternateTextstring.

Gets or sets the alternate text displayed for an image in the System.Web.UI.WebControls.ImageField object.

ConvertEmptyStringToNullbool.

Gets or sets a value indicating whether empty string ("") values are converted to null when the field values are returned from the data source.

DataAlternateTextFieldstring.

Gets or sets the name of the field from the data source that contains the values to bind to the Image.AlternateText property of each image in an System.Web.UI.WebControls.ImageField object.

DataAlternateTextFormatStringstring.

Gets or sets the string that specifies the format in which the alternate text for each image in an System.Web.UI.WebControls.ImageField object is rendered.

DataImageUrlFieldstring.

Gets or sets the name of the field from the data source that contains the values to bind to the System.Web.UI.MobileControls.Image.ImageUrl property of each image in an System.Web.UI.WebControls.ImageField object.

DataImageUrlFormatStringstring.

Gets or sets the string that specifies the format in which the URL for each image in an System.Web.UI.WebControls.ImageField object is rendered.

NullDisplayTextstring.

Gets or sets the text to display in an System.Web.UI.WebControls.ImageField object when the value of the field specified by the ImageField.DataImageUrlField property is null.

NullImageUrlstring.

Gets or sets the URL to an alternate image displayed in an System.Web.UI.WebControls.ImageField object when the value of the field specified by the ImageField.DataImageUrlField property is null.

ReadOnlybool.

Gets or sets a value indicating whether the values of the field specified by the ImageField.DataImageUrlField property can be modified in edit mode.