Share via


SPBoundField.InitializeCell method

Initializes a single cell of the grid view.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides Sub InitializeCell ( _
    cell As DataControlFieldCell, _
    cellType As DataControlCellType, _
    rowState As DataControlRowState, _
    rowIndex As Integer _
)
'Usage
Dim instance As SPBoundField
Dim cell As DataControlFieldCell
Dim cellType As DataControlCellType
Dim rowState As DataControlRowState
Dim rowIndex As Integer

instance.InitializeCell(cell, cellType, _
    rowState, rowIndex)
public override void InitializeCell(
    DataControlFieldCell cell,
    DataControlCellType cellType,
    DataControlRowState rowState,
    int rowIndex
)

Parameters

See also

Reference

SPBoundField class

SPBoundField members

Microsoft.SharePoint.WebControls namespace