Click or drag to resize

TemplateBaseTRenderItem Method

Render a single item from settings defined on an (anonymous) object

Namespace:  Dynamicweb.Rendering
Assembly:  Dynamicweb (in Dynamicweb.dll) Version: 9.10.0
Syntax
public Object RenderItem(
	Object settings
)

Parameters

settings
Type: SystemObject

Return Value

Type: Object
Remarks
Examples
@RenderItem(new { ItemType = "Stuff", ItemId = 42, ItemFieldsList = "*", DetailsTemplate = "ItemPublisher/Details/Stuff.cshtml" })
See Also