A newer version of this page is available. Switch to the current version.

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.v18.2.dll


public GridViewExtension(
    GridViewSettings<RowType> settings,
    ViewContext viewContext
Public Sub New(
    settings As GridViewSettings(Of RowType),
    viewContext As ViewContext


Name Type Description
settings GridViewSettings<RowType>

An object containing extension specific settings.

viewContext ViewContext

A ViewContext object that is the view context.

See Also