BuilderFactory Class

Provides access to ASP.NET Core controls.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.Common.v18.2.dll

Declaration

public class BuilderFactory :
    Object
Public Class BuilderFactory
    Inherits Object

Remarks

Important

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

The code below demonstrates how you can use this class to create and configure a Grid View control.

@model IEnumerable

@(Html.DevExpress()
    .BootstrapGridView("grid")
    .Columns(columns => {
        columns.Add("ProductName");
        columns.Add("QuantityPerUnit");
        ...
    })
    .Routes(routes => routes
        .MapRoute(r => r.Action("Binding").Controller("GridView")))
    .Bind(Model)

Additionally, you can use class members to access application resources (scripts and styles) on the client side.

Inheritance

Extension Methods

See Also