Class ContentAreaExtensions
Extension methods for rendering content areas insode MVC views
Inheritance
System.Object
ContentAreaExtensions
Namespace: EPiServer.Web.Mvc.Html
Assembly: EPiServer.Cms.AspNetCore.HtmlHelpers.dll
Version: 12.0.3Syntax
public static class ContentAreaExtensions : Object
Methods
RenderContentArea(IHtmlHelper, ContentArea)
Renders the content area on the stream.
Declaration
public static void RenderContentArea(this IHtmlHelper htmlHelper, ContentArea contentArea)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper | htmlHelper | The HTML. |
| ContentArea | contentArea | The content area. |