FormExtensionsLabel Method |
Namespace: Kentico.Forms.Web.Mvc
public static MvcHtmlString Label( this ExtensionPoint<HtmlHelper> htmlHelper, FormComponent formComponent, IDictionary<string, Object> htmlAttributes = null, bool renderColon = true )
Exception | Condition |
---|---|
ArgumentNullException | Thrown when htmlHelper or formComponent is null. |
ArgumentException | Thrown when Name of the form component passed is null or an empty string. |