Skip to main content
A newer version of this page is available. .

ExtensionsFactory<ModelType>.HtmlEditorFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<HtmlEditorSettings>) Method

Creates an HtmlEditor.

Namespace: DevExpress.Web.Mvc.UI

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

Declaration

public HtmlEditorExtension HtmlEditorFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression,
    Action<HtmlEditorSettings> method
)

Parameters

Name Type Description
expression Expression<Func<ModelType, ValueType>>

An expression that identifies the object that contains the properties to display.

method Action<HtmlEditorSettings>

A delegate method that accepts HtmlEditorSettings as a parameter.

Type Parameters

Name
ValueType

Returns

Type Description
HtmlEditorExtension

A HtmlEditorExtension object implementing the HtmlEditor functionality.

See Also