Skip to main content
JS

HtmlHelperExtensions.DevExtreme<TModel>(IHtmlHelper<TModel>) Method

Initializes a new widget factory in a strongly-typed page.

Namespace: DevExtreme.AspNet.Mvc

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public static WidgetFactory<TModel> DevExtreme<TModel>(
    this IHtmlHelper<TModel> html
)

Parameters

Name Type Description
html IHtmlHelper<TModel>

An IHtmlHelper instance that this method extends.

Type Parameters

Name Description
TModel

A model type.

Returns

Type Description
WidgetFactory<TModel>

An instance of WidgetFactory<TModel>.

Remarks

Refer to Create a Control for more information.

See Also