Back to Devexpress

FormLayoutExtension<ModelType>.Bind(Object) Method

aspnetmvc-devexpress-dot-web-dot-mvc-dot-formlayoutextension-1-dot-bind-x28-system-dot-object-x29.md

latest1.8 KB
Original Source

FormLayoutExtension<ModelType>.Bind(Object) Method

Binds the FormLayout to a data source.

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public FormLayoutExtension<ModelType> Bind(
    object dataObject
)
vb
Public Function Bind(
    dataObject As Object
) As FormLayoutExtension(Of ModelType)

Parameters

NameTypeDescription
dataObjectObject

An object representing the bound data source.

|

Returns

TypeDescription
FormLayoutExtension<ModelType>

A FormLayoutExtension<ModelType> object representing the FormLayout.

|

Remarks

Use the Bind method to bind the FormLayout extension to a non-Model class instance. Refer to the Binding to Data topic to learn about binding a FormLayout to data.

See Also

Bind Form Layout to Data

FormLayoutExtension<ModelType> Class

FormLayoutExtension<ModelType> Members

DevExpress.Web.Mvc Namespace