Modifica

Condividi tramite


DataControlCellType Enum

Definition

Describes the function of a DataControlFieldCell object.

public enum class DataControlCellType
public enum DataControlCellType
type DataControlCellType = 
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

See also