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

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

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

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.