FormContext Class¶
- Namespace
Microsoft.AspNetCore.Mvc.ViewFeatures
- Assemblies
- Microsoft.AspNetCore.Mvc.ViewFeatures
Properties¶
-
Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext.
CanRenderAtEndOfForm
¶ Return type: System.Boolean public bool CanRenderAtEndOfForm { get; set; }
-
Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext.
EndOfFormContent
¶ Return type: System.Collections.Generic.IList<Microsoft.AspNetCore.Html.IHtmlContent> public IList<IHtmlContent> EndOfFormContent { get; }
-
Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext.
FormData
¶ Property bag for any information you wish to associate with a <form/> in an
Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
implementation or extension method.Return type: System.Collections.Generic.IDictionary<System.String> public IDictionary<string, object> FormData { get; }
-
Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext.
HasAntiforgeryToken
¶ Return type: System.Boolean public bool HasAntiforgeryToken { get; set; }
-
Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext.
HasEndOfFormContent
¶ Return type: System.Boolean public bool HasEndOfFormContent { get; }
-
Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext.
HasFormData
¶ Return type: System.Boolean public bool HasFormData { get; }
-