ModelMetadata.ShowForEdit Property

.NET Framework (current version)
 

Gets or sets a value that specifies whether the property should be displayed in edit mode (as opposed to display mode).

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

Public Overridable Property ShowForEdit As Boolean

Property Value

Type: System.Boolean

true if the property should be displayed in edit mode; otherwise, false. The default is true.

.NET Framework
Available since 4.5
Return to top
Show: