Share via


ViewContext.FormContext Property

Definition

Gets or sets the FormContext for the form element being rendered. A default context is returned if no form is currently being rendered.

public:
 virtual property Microsoft::AspNetCore::Mvc::ViewFeatures::FormContext ^ FormContext { Microsoft::AspNetCore::Mvc::ViewFeatures::FormContext ^ get(); void set(Microsoft::AspNetCore::Mvc::ViewFeatures::FormContext ^ value); };
public virtual Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext FormContext { get; set; }
member this.FormContext : Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext with get, set
Public Overridable Property FormContext As FormContext

Property Value

Applies to