Skip to main content

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