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

ExtensionsFactory<ModelType>.TextBoxFor<ValueType>(Expression<Func<ModelType, ValueType>>) Method

Creates a TextBox.

Namespace: DevExpress.Web.Mvc.UI

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public TextBoxExtension TextBoxFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression
)

Parameters

Name Type Description
expression Expression<Func<ModelType, ValueType>>

An expression that identifies the object that contains the properties to edit.

Type Parameters

Name
ValueType

Returns

Type Description
TextBoxExtension

A TextBoxExtension object implementing the TextBox functionality.

See Also