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