Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataGridColumn Members
Collapse the table of content
Expand the table of content

DataGridColumn Members

DataGridColumn overview

Public Constructors

public constructorDataGridColumn Constructor Initializes a new instance of the DataGridColumn class.

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.

Public Methods

public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitialize Provides the base implementation to reset a column derived from the DataGridColumn class to its initial state.
public methodInitializeCell Provides the base implementation to reset the specified cell from a column derived from the DataGridColumn class its initial values.
public methodToString Overridden. See Object.ToString.

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.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodLoadViewState Loads the state of the DataGridColumn.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodSaveViewState Saves the current state of the DataGridColumn.
protected methodTrackViewState Causes tracking of view-state changes to the server control so they can be stored in the server control's System.Web.UI.StateBag object.

See Also

DataGridColumn Class | System.Web.UI.WebControls Namespace

Show:
© 2015 Microsoft