This documentation is archived and is not being maintained.

ButtonColumn Properties

The properties of the ButtonColumn class are listed here. For a complete list of ButtonColumn class members, see the ButtonColumn Members topic.

Public Properties

public propertyButtonType Gets or sets the type of button to display in the ButtonColumn column.
public propertyCommandName Gets or sets a string that represents the command to perform when a button in the System.Web.UI.WebControls.ButtonColumn is clicked.
public propertyDataTextField Gets or sets the field name from a data source to bind to the ButtonColumn.
public propertyDataTextFormatString Gets or sets the string that specifies the display format for the caption in each command button.
public propertyFooterStyle (inherited from DataGridColumn) Gets the style properties for the footer section of the column.
public propertyFooterText (inherited from DataGridColumn) Gets or sets the text displayed in the footer section of the column.
public propertyHeaderImageUrl (inherited from DataGridColumn) Gets or sets the location of an image to display in the header section of the column.
public propertyHeaderStyle (inherited from DataGridColumn) Gets the style properties for the header section of the column.
public propertyHeaderText (inherited from DataGridColumn) Gets or sets the text displayed in the header section of the column.
public propertyItemStyle (inherited from DataGridColumn) Gets the style properties for the item cells of the column.
public propertySortExpression (inherited from DataGridColumn) Gets or sets the name of the field or expression to pass to the OnSortCommand method when a column is selected for sorting.
public propertyText Gets or sets the caption displayed in the command buttons of the ButtonColumn.
public propertyVisible (inherited from DataGridColumn) Gets or sets a value that indicates whether the column is visible in the DataGrid control.

Protected Properties

protected propertyDesignMode (inherited from DataGridColumn) Gets a value that indicates whether the column is in design mode.
protected propertyOwner (inherited from DataGridColumn) Gets the DataGrid control that the column is a member of.
protected propertyViewState (inherited from DataGridColumn) Gets the System.Web.UI.StateBag that allows a column derived from the DataGridColumn class to store its properties.

See Also

ButtonColumn Class | System.Web.UI.WebControls Namespace

Show: