HiddenInputAttribute Class¶
Summary¶
Indicates associated property or all properties of associated type should be edited using an <input> element of type “hidden”.
Inheritance Hierarchy¶
System.Object
System.Attribute
Microsoft.AspNet.Mvc.HiddenInputAttribute
Constructors¶
-
Microsoft.AspNet.Mvc.HiddenInputAttribute.HiddenInputAttribute()
Instantiates a new instance of the [Microsoft.AspNet.Mvc.HiddenInputAttribute](Microsoft.AspNet.Mvc.HiddenInputAttribute.yml) class.
public HiddenInputAttribute()
-
Properties¶
-
DisplayValue
()¶ Gets or sets a value indicating whether to display the value as well as provide a hidden <input> element. The default value is <c>true</c>.
Return type: System.Boolean public bool DisplayValue { get; set; }
-