FormItemsFactory<T>.AddSimple() Method
In This Article
Adds a simple item to a Form control.
Namespace: DevExtreme.AspNet.Mvc.Factories
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public FormSimpleItemBuilder AddSimple()
#Returns
Type | Description |
---|---|
Form |
An instance of Form |
#Remarks
@(Html.DevExtreme().Form()
.Items(items => {
items.AddSimple() // call methods in a chain to configure the item
})
)
See Also