Compartilhar via


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

'Declaration
Public Overridable Property EditFormatString As String
    Get
    Set
public virtual string EditFormatString { get; set; }
public:
virtual property String^ EditFormatString {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
The edit format string of the model.

Remarks

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

See Also

Reference

ModelMetadata Class

System.Web.Mvc Namespace