Skip to main content

HtmlEditorExtension.Bind(Object, String) Method

Binds an editor to a data source’s field.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public HtmlEditorExtension Bind(
    object dataObject,
    string propertyName
)

Parameters

Name Type Description
dataObject Object

An object specifying the bound data source.

propertyName String

A string value specifying the data source’s field name.

Returns

Type Description
HtmlEditorExtension

An HtmlEditorExtension object that is the editor.

See Also