System.Web.UI.WebControls.ImageField Members

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

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

Public Constructors

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

Public Fields

static readonly
ThisExpressionstring.

Represents the "this" expression.

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.

Public Methods

override
ExtractValuesFromCell(System.Collections.Specialized.IOrderedDictionary, DataControlFieldCell, DataControlRowState, bool)

Fills the specified System.Collections.Specialized.IOrderedDictionary object with the values from the specified System.Web.UI.WebControls.DataControlFieldCell object.

override
Initialize(bool, System.Web.UI.Control) : bool

Initializes the System.Web.UI.WebControls.ImageField object.

override
InitializeCell(DataControlFieldCell, DataControlCellType, DataControlRowState, int)

Initializes the specified System.Web.UI.WebControls.DataControlFieldCell object with the specified cell type, row state, and row index.

override
ValidateSupportsCallback()

Determines whether the controls contained in an System.Web.UI.WebControls.ImageField object support callbacks.

Protected Methods

override
CopyProperties(DataControlField)

Copies the properties of the current System.Web.UI.WebControls.ImageField object to the specified object.

override
CreateField() : DataControlField

Returns a new instance of the System.Web.UI.WebControls.ImageField class.

FormatImageUrlValue(object) : string

Applies the format specified by the ImageField.DataImageUrlFormatString property to a field value.

GetDesignTimeValue() : string

Retrieves the value used for a field's value when rendering the System.Web.UI.WebControls.ImageField object in a designer.

GetFormattedAlternateText(System.Web.UI.Control) : string

Applies the format specified by the ImageField.DataAlternateTextFormatString property to the alternate text value contained in the specified System.Web.UI.Control object.

GetValue(System.Web.UI.Control, string, ref System.ComponentModel.PropertyDescriptor) : object
Documentation for this section has not yet been entered.
InitializeDataCell(DataControlFieldCell, DataControlRowState)

Initializes the specified System.Web.UI.WebControls.DataControlFieldCell object with the specified row state.

OnDataBindField(object, EventArgs)

Binds the value of a field to the System.Web.UI.WebControls.ImageField object.