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)

Syntax

public virtual string EditFormatString { get; set; }
public:
property String^ EditFormatString {
    virtual String^ get();
    virtual void set(String^ value);
}
abstract EditFormatString : string with get, set
override EditFormatString : string with get, set
Public Overridable Property EditFormatString As String

Property Value

Type: System.String

The edit format string of the model.

Remarks

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.

See Also

ModelMetadata Class
System.Web.Mvc Namespace

Return to top