Back to Devexpress

CardViewEditColumn.CreateColumn(Type) Method

aspnet-devexpress-dot-web-dot-cardvieweditcolumn-dot-createcolumn-x28-system-dot-type-x29.md

latest2.0 KB
Original Source

CardViewEditColumn.CreateColumn(Type) Method

Creates a data column for the specified data type.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public static CardViewEditColumn CreateColumn(
    Type dataType
)
vb
Public Shared Function CreateColumn(
    dataType As Type
) As CardViewEditColumn

Parameters

NameTypeDescription
dataTypeType

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

|

Returns

TypeDescription
CardViewEditColumn

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

|

Remarks

dataTypeReturn Value
nullInitializes and returns a new instance of the CardViewTextColumn object.
DateTimeInitializes and returns a new instance of the CardViewDateColumn object.
boolInitializes and returns a new instance of the CardViewCheckColumn object.
(Any Other Type)Initializes and returns a new instance of the CardViewTextColumn object.

See Also

Card View

CardViewEditColumn Class

CardViewEditColumn Members

DevExpress.Web Namespace