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