EditFormatString Property

ModelMetadata.EditFormatString Property


Gets or sets the edit format string of the model.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public virtual string EditFormatString { get; set; }

Property Value

Type: System.String

The edit format string of the model.

This property is used by the EditorFor<TModel, TValue> method when it creates the markup to render a model value that can be edited by the user.

Return to top
© 2016 Microsoft