Partager via


ViewContext.FormContext Property

Gets or sets an object that encapsulates information that is required in order to validate and process the input data from an HTML form.

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

Syntax

'Declaration
Public Overridable Property FormContext As FormContext
    Get
    Set
public virtual FormContext FormContext { get; set; }
public:
virtual property FormContext^ FormContext {
    FormContext^ get ();
    void set (FormContext^ value);
}

Property Value

Type: System.Web.Mvc.FormContext
An object that encapsulates information that is required in order to validate and process the input data from an HTML form.

See Also

Reference

ViewContext Class

System.Web.Mvc Namespace