HiddenInputAttribute.DisplayValue Property

 

Gets or sets a value that indicates whether to display the value of the hidden input element.

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

public bool DisplayValue { get; set; }

Property Value

Type: System.Boolean

true if the value should be displayed; otherwise, false.

Return to top
Show: