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

WidgetFactory<TModel>.TextBoxFor<TProperty>(Expression<Func<TModel, TProperty>>) Method

The TextBox is a widget that enables a user to enter and edit a single line of text.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TextBoxBuilder TextBoxFor<TProperty>(
    Expression<Func<TModel, TProperty>> expression
)

Parameters

Name Type
expression Expression<Func<TModel, TProperty>>

Type Parameters

Name
TProperty

Returns

Type
TextBoxBuilder
See Also