ViewContext.FormContext Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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