ExtensionsFactory.VerticalGrid<ColumnType>(VerticalGridSettings<ColumnType>) Method

Creates a VerticalGrid.

Namespace: DevExpress.Web.Mvc.UI

Assembly: DevExpress.Web.Mvc5.v20.2.dll

Declaration

public VerticalGridExtension<ColumnType> VerticalGrid<ColumnType>(
    VerticalGridSettings<ColumnType> settings
)
    where ColumnType : class
Public Function VerticalGrid(Of ColumnType As Class)(
    settings As VerticalGridSettings(Of ColumnType)
) As VerticalGridExtension(Of ColumnType)

Parameters

Name Type Description
settings VerticalGridSettings<ColumnType>

A VerticalGridSettings<ColumnType> object containing the VerticalGrid extension settings.

Type Parameters

Name
ColumnType

Returns

Type Description
VerticalGridExtension<ColumnType>

A VerticalGridExtension<ColumnType> object implementing VerticalGrid functionality.

Remarks

To enable binding grid columns to Model fields using lambdas, it is required to declare the VerticalGrid extension using the VerticalGrid<ColumnType> strongly-typed declaration method.

NOTE

The partial View with the VerticalGrid extension does not need to be strongly-typed.

See Also