FormContext Class¶
Inheritance Hierarchy¶
System.Object
Microsoft.AspNet.Mvc.FormContext
Properties¶
-
FormData
()¶ Property bag for any information you wish to associate with a <form/> in an [Microsoft.AspNet.Mvc.Rendering.IHtmlHelper](Microsoft.AspNet.Mvc.Rendering.IHtmlHelper.yml) implementation or extension method.
Return type: System.Collections.Generic.IDictionary{System.String,System.Object} public IDictionary<string, object> FormData { get; }
-
Methods¶
-
RenderedField
(System.String)¶ Arguments: - fieldName (System.String) –
Return type: System.Boolean
public bool RenderedField(string fieldName)
-
RenderedField
(System.String, System.Boolean) Arguments: - fieldName (System.String) –
- value (System.Boolean) –
public void RenderedField(string fieldName, bool value)
-