Skip to main content
Tab

CardViewEditColumn.CreateColumn(Type) Method

Creates a data column for the specified data type.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

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