Skip to main content

TextBoxExtension(TextBoxSettings, ViewContext, ModelMetadata) Constructor

Initializes a new instance of the TextBoxExtension class with the specified settings, the context information about the view, and the model metadata.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public TextBoxExtension(
    TextBoxSettings settings,
    ViewContext viewContext,
    ModelMetadata metadata
)

Parameters

Name Type Description
settings TextBoxSettings

An object containing extension specific settings.

viewContext ViewContext

A ViewContext object that is the view context.

metadata ModelMetadata

The System.Web.Mvc.ModelMetadata object that is the model metadata.

See Also