View Source
Class GridTemplateExtensions
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public static class GridTemplateExtensions
Methods
View Source
GetGridHtml(HtmlHelper, IPublishedContent)
Declaration
public static MvcHtmlString GetGridHtml(this HtmlHelper html, IPublishedContent contentItem)
Parameters
Returns
Type |
Description |
MvcHtmlString |
|
View Source
GetGridHtml(HtmlHelper, IPublishedContent, String)
Declaration
public static MvcHtmlString GetGridHtml(this HtmlHelper html, IPublishedContent contentItem, string propertyAlias)
Parameters
Type |
Name |
Description |
HtmlHelper |
html |
|
IPublishedContent |
contentItem |
|
System.String |
propertyAlias |
|
Returns
Type |
Description |
MvcHtmlString |
|
View Source
GetGridHtml(HtmlHelper, IPublishedContent, String, String)
Declaration
public static MvcHtmlString GetGridHtml(this HtmlHelper html, IPublishedContent contentItem, string propertyAlias, string framework)
Parameters
Type |
Name |
Description |
HtmlHelper |
html |
|
IPublishedContent |
contentItem |
|
System.String |
propertyAlias |
|
System.String |
framework |
|
Returns
Type |
Description |
MvcHtmlString |
|
View Source
GetGridHtml(HtmlHelper, IPublishedElement)
Declaration
public static MvcHtmlString GetGridHtml(this HtmlHelper html, IPublishedElement contentItem)
Parameters
Returns
Type |
Description |
MvcHtmlString |
|
View Source
GetGridHtml(HtmlHelper, IPublishedElement, String)
Declaration
public static MvcHtmlString GetGridHtml(this HtmlHelper html, IPublishedElement contentItem, string propertyAlias)
Parameters
Type |
Name |
Description |
HtmlHelper |
html |
|
IPublishedElement |
contentItem |
|
System.String |
propertyAlias |
|
Returns
Type |
Description |
MvcHtmlString |
|
View Source
GetGridHtml(HtmlHelper, IPublishedElement, String, String)
Declaration
public static MvcHtmlString GetGridHtml(this HtmlHelper html, IPublishedElement contentItem, string propertyAlias, string framework)
Parameters
Type |
Name |
Description |
HtmlHelper |
html |
|
IPublishedElement |
contentItem |
|
System.String |
propertyAlias |
|
System.String |
framework |
|
Returns
Type |
Description |
MvcHtmlString |
|
View Source
GetGridHtml(HtmlHelper, IPublishedProperty, String)
Declaration
public static MvcHtmlString GetGridHtml(this HtmlHelper html, IPublishedProperty property, string framework = "bootstrap3")
Parameters
Returns
Type |
Description |
MvcHtmlString |
|
View Source
GetGridHtml(IPublishedContent, HtmlHelper)
Declaration
public static MvcHtmlString GetGridHtml(this IPublishedContent contentItem, HtmlHelper html)
Parameters
Returns
Type |
Description |
MvcHtmlString |
|
View Source
GetGridHtml(IPublishedContent, HtmlHelper, String)
Declaration
public static MvcHtmlString GetGridHtml(this IPublishedContent contentItem, HtmlHelper html, string propertyAlias)
Parameters
Type |
Name |
Description |
IPublishedContent |
contentItem |
|
HtmlHelper |
html |
|
System.String |
propertyAlias |
|
Returns
Type |
Description |
MvcHtmlString |
|
View Source
GetGridHtml(IPublishedContent, HtmlHelper, String, String)
Declaration
public static MvcHtmlString GetGridHtml(this IPublishedContent contentItem, HtmlHelper html, string propertyAlias, string framework)
Parameters
Type |
Name |
Description |
IPublishedContent |
contentItem |
|
HtmlHelper |
html |
|
System.String |
propertyAlias |
|
System.String |
framework |
|
Returns
Type |
Description |
MvcHtmlString |
|
View Source
GetGridHtml(IPublishedProperty, HtmlHelper, String)
Declaration
public static MvcHtmlString GetGridHtml(this IPublishedProperty property, HtmlHelper html, string framework = "bootstrap3")
Parameters
Returns
Type |
Description |
MvcHtmlString |
|