GridViewExtension(GridViewSettings<RowType>, ViewContext) Constructor

Initializes a new instance of the GridViewExtension<RowType> class with the specified settings and provides the context information about the view.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll

Declaration

public GridViewExtension(
    GridViewSettings<RowType> settings,
    ViewContext viewContext
)

Parameters

Name Type Description
settings GridViewSettings<RowType>

An object containing extension specific settings.

viewContext ViewContext

A ViewContext object that is the view context.

See Also