DataControlCellType Enum

Definition

Describes the function of a DataControlFieldCell object.

C#
public enum DataControlCellType
Inheritance
DataControlCellType

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.

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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also