Skip to main content

ToolbarItemFactory.TextBox() Method

Creates a TextBox control that represents a toolbar item.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TextBoxBuilder TextBox()

Returns

Type Description
TextBoxBuilder

An instance of TextBoxBuilder.

Remarks

@(Html.DevExtreme().Toolbar()
    .Items(items => {
        items.Add()
            .Widget(w => w.TextBox()
                // call methods in a chain to customize the control
            );
    })
)
See Also