Skip to main content

EditorExtension.Bind(Object, String) Method

Binds an editor to a data source’s field.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public EditorExtension Bind(
    object dataObject,
    string propertyName
)

Parameters

Name Type Description
dataObject Object

An object representing the bound data source.

propertyName String

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

Returns

Type Description
EditorExtension

An EditorExtension object representing the editor.

See Also