ModelMetadata.ShowForEdit Property
Gets or sets a value that indicates whether the model should be displayed in editable views.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
public virtual bool ShowForEdit { get; set; }
public:
property bool ShowForEdit {
virtual bool get();
virtual void set(bool value);
}
abstract ShowForEdit : bool with get, set
override ShowForEdit : bool with get, set
Public Overridable Property ShowForEdit As Boolean
Property Value
Type: System.Boolean
true if the model should be displayed in editable views; otherwise, false.
See Also
ModelMetadata Class
System.Web.Mvc Namespace
Return to top