Skip to main content
A newer version of this page is available. .

FormItemsFactory<T>.AddEmpty() Method

Adds an empty item to a Form control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public FormEmptyItemBuilder AddEmpty()

Returns

Type Description
FormEmptyItemBuilder

An instance of FormEmptyItemBuilder.

Remarks

@(Html.DevExtreme().Form()
    .Items(items => {
        items.AddEmpty() // call methods in a chain to configure the item
    })
)
See Also