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

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

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

Public Properties

CommandNamestring.

Gets or sets a string that represents the action to perform when a button in a System.Web.UI.WebControls.ButtonField object is clicked.

DataTextFieldstring.

Gets or sets the name of the data field for which the value is bound to the Button.Text property of the System.Web.UI.WebControls.Button control that is rendered by the System.Web.UI.WebControls.ButtonField object.

DataTextFormatStringstring.

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

ImageUrlstring.

Gets or sets the image to display for each button in the System.Web.UI.WebControls.ButtonField object.

Textstring.

Gets or sets the static caption that is displayed for each button in the System.Web.UI.WebControls.ButtonField object.