DataControlCellType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the function of a DataControlFieldCell object.
public enum class DataControlCellType
public enum DataControlCellType
type DataControlCellType =
Public Enum DataControlCellType
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Header | 0 | A DataControlFieldCell that is the header cell of a table. Items in the cell are not bound to data. |
Footer | 1 | A DataControlFieldCell that is the footer cell of a table. Items in the cell are not bound to data. |
DataCell | 2 | A DataControlFieldCell that contains data. |
Remarks
DataControlField objects and the data-bound controls that use them use the DataControlCellType enumeration to identify the type of cell, and therefore what attributes it should have when rendered. The DataCell cell type identifies a data-bound cell in a GridView or DetailsView control, whereas the Header and Footer cells identify cell types that are not bound data cells that contain other, non-data-bound content.