GetHtmlHelper() Method
The IHtmlHelper isn't normally available in the page, so get one and contextualize it from the service provider.
Namespace
Statiq.Razor
Containing Type
StatiqRazorPage<TModel>

Syntax

protected IHtmlHelper<TModel> GetHtmlHelper()

Return Value

Type Description
IHtmlHelper<TModel> The IHtmlHelper.