Skip to main content

QueryBuilderSettings Class

Contains the Query Builder extension settings.

Namespace: DevExpress.Web.Mvc

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

Declaration

public class QueryBuilderSettings :
    SettingsBase

Remarks

Use the ExtensionsFactory.QueryBuilder helper method that returns a QueryBuilderExtension object to declare the Query Builder in a required View.

Pass the QueryBuilderSettings object as a helper method’s parameter to configure the Query Builder extension.

@Html.DevExpress().QueryBuilder(settings => {
    settings.Name = "QueryBuilder";
    settings.RouteValues = new { Controller = "QueryBuilder", Action = "Invoke" };
}).Bind("NorthwindConnection").GetHtml()

See the Query Builder - Getting Started section to learn more about adding the Query Builder to an ASP.NET MVC project.

Inheritance

Object
SettingsBase
QueryBuilderSettings
See Also