System.Web.UI.WebControls.DataGridColumn Members

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

See Also: Inherited members from System.Object

Protected Constructors

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

Public Properties

[read-only]
FooterStyleTableItemStyle.

Gets the style properties for the footer section of the column.

FooterTextstring.

Gets or sets the text displayed in the footer section of the column.

HeaderImageUrlstring.

Gets or sets the location of an image to display in the header section of the column.

[read-only]
HeaderStyleTableItemStyle.

Gets the style properties for the header section of the column.

HeaderTextstring.

Gets or sets the text displayed in the header section of the column.

[read-only]
ItemStyleTableItemStyle.

Gets the style properties for the item cells of the column.

SortExpressionstring.

Gets or sets the name of the field or expression to pass to the DataGrid.OnSortCommand(DataGridSortCommandEventArgs) method when a column is selected for sorting.

Visiblebool.

Gets or sets a value that indicates whether the column is visible in the System.Web.UI.WebControls.DataGrid control.

Protected Properties

[read-only]
DesignModebool.

Gets a value that indicates whether the column is in design mode.

[read-only]
IsTrackingViewStatebool.

Gets a value that determines whether the System.Web.UI.WebControls.DataGridColumn object is marked to save its state.

[read-only]
OwnerDataGrid.

Gets the System.Web.UI.WebControls.DataGrid control that the column is a member of.

[read-only]
ViewStateSystem.Web.UI.StateBag.

Gets the System.Web.UI.StateBag object that allows a column derived from the System.Web.UI.WebControls.DataGridColumn class to store its properties.

Public Methods

Initialize()

Provides the base implementation to reset a column derived from the System.Web.UI.WebControls.DataGridColumn class to its initial state.

InitializeCell(TableCell, int, ListItemType)

Provides the base implementation to reset the specified cell from a column derived from the System.Web.UI.WebControls.DataGridColumn class to its initial state.

override
ToString() : string

Returns the string representation of the column.

Protected Methods

LoadViewState(object)

Loads the state of the System.Web.UI.WebControls.DataGridColumn object.

OnColumnChanged()

Calls the System.Web.UI.Design.WebControls.DataGridDesigner.OnColumnsChanged method.

SaveViewState() : object

Saves the current state of the System.Web.UI.WebControls.DataGridColumn object.

TrackViewState()

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.

Explicitly Implemented Interface Members

[read-only]
System.Web.UI.IStateManager.IsTrackingViewStatebool.

Gets a value that indicates whether the column is tracking view state changes.

System.Web.UI.IStateManager.LoadViewState

Loads previously saved state.

System.Web.UI.IStateManager.SaveViewState

Returns an object containing state changes.

System.Web.UI.IStateManager.TrackViewState

Starts tracking state changes.