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)

Syntax

public bool DisplayValue { get; set; }
public:
property bool DisplayValue {
    bool get();
    void set(bool value);
}
member DisplayValue : bool with get, set
Public Property DisplayValue As Boolean

Property Value

Type: System.Boolean

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

See Also

HiddenInputAttribute Class
System.Web.Mvc Namespace

Return to top