Tab

CardViewEditColumn.CreateColumn(Type) Method

Creates a data column for the specified data type.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public static CardViewEditColumn CreateColumn(
    Type dataType
)

Parameters

Name Type Description
dataType Type

A Type descendant that represents the type of data to be displayed by the new column.

Returns

Type Description
CardViewEditColumn

A CardViewEditColumn descendant that represents the data column for the specified data type.

Remarks

dataType Return Value
null Initializes and returns a new instance of the CardViewTextColumn object.
DateTime Initializes and returns a new instance of the CardViewDateColumn object.
bool Initializes and returns a new instance of the CardViewCheckColumn object.
(Any Other Type) Initializes and returns a new instance of the CardViewTextColumn object.
See Also