This documentation is archived and is not being maintained.
ButtonColumn Properties
.NET Framework 1.1
The properties of the ButtonColumn class are listed here. For a complete list of ButtonColumn class members, see the ButtonColumn Members topic.
Public Properties
ButtonType | Gets or sets the type of button to display in the ButtonColumn column. |
CommandName | Gets or sets a string that represents the command to perform when a button in the System.Web.UI.WebControls.ButtonColumn is clicked. |
DataTextField | Gets or sets the field name from a data source to bind to the ButtonColumn. |
DataTextFormatString | Gets or sets the string that specifies the display format for the caption in each command button. |
FooterStyle (inherited from DataGridColumn) | Gets the style properties for the footer section of the column. |
FooterText (inherited from DataGridColumn) | Gets or sets the text displayed in the footer section of the column. |
HeaderImageUrl (inherited from DataGridColumn) | Gets or sets the location of an image to display in the header section of the column. |
HeaderStyle (inherited from DataGridColumn) | Gets the style properties for the header section of the column. |
HeaderText (inherited from DataGridColumn) | Gets or sets the text displayed in the header section of the column. |
ItemStyle (inherited from DataGridColumn) | Gets the style properties for the item cells of the column. |
SortExpression (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. |
Text | Gets or sets the caption displayed in the command buttons of the ButtonColumn. |
Visible (inherited from DataGridColumn) | Gets or sets a value that indicates whether the column is visible in the DataGrid control. |
Protected Properties
DesignMode (inherited from DataGridColumn) | Gets a value that indicates whether the column is in design mode. |
Owner (inherited from DataGridColumn) | Gets the DataGrid control that the column is a member of. |
ViewState (inherited from DataGridColumn) | Gets the System.Web.UI.StateBag that allows a column derived from the DataGridColumn class to store its properties. |
See Also
Show:
