Export (0) Print
Expand All

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 Overridable Property EditFormatString As String 
Dim instance As ModelMetadata 
Dim value As String 

value = instance.EditFormatString

instance.EditFormatString = value

Property Value

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

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.

© 2014 Microsoft