Export (0) Print
Expand All

HiddenInputAttribute Class

Represents an attribute that is used to indicate whether a property or field value should be rendered as a hidden input element.

System.Object
  System.Attribute
    System.Web.Mvc.HiddenInputAttribute

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

[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Property, AllowMultiple = false, 
	Inherited = true)]
public sealed class HiddenInputAttribute : Attribute

The HiddenInputAttribute type exposes the following members.

  NameDescription
Public methodHiddenInputAttributeInitializes a new instance of the HiddenInputAttribute class.
Top

  NameDescription
Public propertyDisplayValueGets or sets a value that indicates whether to display the value of the hidden input element.
Public propertyTypeId (Inherited from Attribute.)
Top

  NameDescription
Public methodEquals (Inherited from Attribute.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft