HtmlHelperExtensionsFormComponentsStyles Method |
Renders necessary stylesheet link tags for using Form builder based forms on a live site.
If no form component specific stylesheet is available, an empty string is returned.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax Exceptions Exception | Condition |
---|
ArgumentNullException | htmlHelper is null. |
Remarks
Form components' additional stylesheets are expected to reside within the '~/Content/FormComponents' directory.
CSS files in that directory are bundled and this method renders a link tag referencing the bundle
in its href attribute. The bundle exists only if the aforementioned directory does.
See Also