London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Interface ICustomRenderer

Interface that enables you to take over generation of html for your IComponent.

Namespace: EPiServer.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 10.10.4
Syntax
public interface ICustomRenderer

Methods

RenderComponent(IComponent, String)

Renders the html for the component.

Declaration
MvcHtmlString RenderComponent(IComponent component, string innerHtml)
Parameters
Type Name Description
IComponent component

The component.

System.String innerHtml

The inner HTML.

Returns
Type Description
System.Web.Mvc.MvcHtmlString

An System.Web.Mvc.MvcHtmlString with the html for the component.

Extension Methods