System.Web.UI.WebControls.ButtonColumn Members

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

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

Public Constructors

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

Public Properties

ButtonTypeButtonColumnType.

Gets or sets the type of button to display in the System.Web.UI.WebControls.ButtonColumn object.

CausesValidationbool.

Gets or sets a value indicating whether validation is performed when a button in the System.Web.UI.WebControls.ButtonColumn object is clicked.

CommandNamestring.

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

DataTextFieldstring.

Gets or sets the field name from a data source to bind to the System.Web.UI.WebControls.ButtonColumn object.

DataTextFormatStringstring.

Gets or sets the string that specifies the display format for the caption in each button.

Textstring.

Gets or sets the caption that is displayed in the buttons of the System.Web.UI.WebControls.ButtonColumn object.

ValidationGroupstring.

Gets or sets the group of validation controls for which the System.Web.UI.WebControls.ButtonColumn object causes validation when it posts back to the server.

Public Methods

override
Initialize()

Resets the System.Web.UI.WebControls.ButtonColumn object to its initial state.

override
InitializeCell(TableCell, int, ListItemType)

Resets a cell in the System.Web.UI.WebControls.ButtonColumn object to its initial state.

Protected Methods

FormatDataTextValue(object) : string

Converts the specified value to the format that is indicated by the ButtonColumn.DataTextFormatString property.