Interface ICustomRenderer
Interface that enables you to take over generation of html for your IComponent.
Namespace: EPiServer.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 8.11.0Syntax
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. |