System.Web.UI.WebControls.BoundField Members

The members of System.Web.UI.WebControls.BoundField 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.BoundField class.

Public Fields

static readonly
ThisExpressionstring.

Represents the "this" expression.

Public Properties

ApplyFormatInEditModebool.

Gets or sets a value indicating whether the formatting string specified by the BoundField.DataFormatString property is applied to field values when the data-bound control that contains the System.Web.UI.WebControls.BoundField object is in edit mode.

ConvertEmptyStringToNullbool.

Gets or sets a value indicating whether empty string values ("") are automatically converted to null values when the data field is updated in the data source.

DataFieldstring.

Gets or sets the name of the data field to bind to the System.Web.UI.WebControls.BoundField object.

DataFormatStringstring.

Gets or sets the string that specifies the display format for the value of the field.

override
HeaderTextstring.

Gets or sets the text that is displayed in the header of a data control.

HtmlEncodebool.

Gets or sets a value indicating whether field values are HTML-encoded before they are displayed in a System.Web.UI.WebControls.BoundField object.

NullDisplayTextstring.

Gets or sets the caption displayed for a field when the field's value is null.

ReadOnlybool.

Gets or sets a value indicating whether the value of the field can be modified in edit mode.

Protected Properties

[read-only]
SupportsHtmlEncodebool.

Gets a value indicating whether HTML encoding is supported by a System.Web.UI.WebControls.BoundField object.

Public Methods

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

Fills the specified IDictionary object with the values from the specified System.Web.UI.WebControls.TableCell object.

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

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

override
InitializeCell(DataControlFieldCell, DataControlCellType, DataControlRowState, int)

Initializes the specified System.Web.UI.WebControls.TableCell object to the specified row state.

override
ValidateSupportsCallback()

Determines whether the controls contained in a System.Web.UI.WebControls.BoundField object support callbacks.

Protected Methods

override
CopyProperties(DataControlField)

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

override
CreateField() : DataControlField

Creates an empty System.Web.UI.WebControls.BoundField object.

FormatDataValue(object, bool) : string

Formats the specified field value for a cell in the System.Web.UI.WebControls.BoundField object.

GetDesignTimeValue() : object

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

GetValue(System.Web.UI.Control) : object

Retrieves the value of the field bound to the System.Web.UI.WebControls.BoundField object.

InitializeDataCell(DataControlFieldCell, DataControlRowState)

Initializes the specified System.Web.UI.WebControls.TableCell object to the specified row state.

OnDataBindField(object, EventArgs)

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