This documentation is archived and is not being maintained.

DataGridColumn Properties

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

Public Properties

public propertyFooterStyle Gets the style properties for the footer section of the column.
public propertyFooterText Gets or sets the text displayed in the footer section of the column.
public propertyHeaderImageUrl Gets or sets the location of an image to display in the header section of the column.
public propertyHeaderStyle Gets the style properties for the header section of the column.
public propertyHeaderText Gets or sets the text displayed in the header section of the column.
public propertyItemStyle Gets the style properties for the item cells of the column.
public propertySortExpression Gets or sets the name of the field or expression to pass to the OnSortCommand method when a column is selected for sorting.
public propertyVisible Gets or sets a value that indicates whether the column is visible in the DataGrid control.

Protected Properties

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

See Also

DataGridColumn Class | System.Web.UI.WebControls Namespace

Show: