C# Class Skybrud.Umbraco.GridData.Extensions.TypedGridExtensionMethods

Class holding various extension methods for using the typed Grid.
Show file Open project: skybrud/Skybrud.Umbraco.GridData

Public Methods

Method Description
GetGridModel ( this content ) : GridDataModel

Gets the model for the typed Grid.

GetGridModel ( this content, string propertyAlias ) : GridDataModel

Gets the model for the typed Grid.

GetTypedGrid ( this content ) : GridDataModel

Gets the model for the typed Grid.

GetTypedGrid ( this content, string propertyAlias ) : GridDataModel

Gets the model for the typed Grid.

GetTypedGridHtml ( this html, GridDataModel model, string framework = DefaultFramework ) : System.Web.HtmlString

Gets the HTML for the Grid model based on the specified framework.

GetTypedGridHtml ( this content, HtmlHelper html ) : System.Web.HtmlString

Gets the HTML for the Grid model.

GetTypedGridHtml ( this property, HtmlHelper html, string framework = DefaultFramework ) : System.Web.HtmlString

Gets the HTML for the Grid model.

GetTypedGridHtml ( this content, HtmlHelper html, string propertyAlias, string framework ) : System.Web.HtmlString

Gets the HTML for the Grid model.

GetTypedGridHtml ( this html, IPublishedContent content ) : System.Web.HtmlString

Gets the HTML for the Grid model based on default options.

GetTypedGridHtml ( this html, IPublishedContent content, string propertyAlias ) : System.Web.HtmlString

Gets the HTML for the Grid model based on default options.

GetTypedGridHtml ( this html, IPublishedContent content, string propertyAlias, string framework ) : System.Web.HtmlString

Gets the HTML for the Grid model.

GetTypedGridHtml ( this html, IPublishedProperty property, string framework = DefaultFramework ) : System.Web.HtmlString

Gets the HTML for the Grid model based on the specified framework.

Method Details

GetGridModel() public static method

Gets the model for the typed Grid.
public static GetGridModel ( this content ) : GridDataModel
content this The parent content item.
return GridDataModel

GetGridModel() public static method

Gets the model for the typed Grid.
public static GetGridModel ( this content, string propertyAlias ) : GridDataModel
content this The parent content item.
propertyAlias string The alias of the property.
return GridDataModel

GetTypedGrid() public static method

Gets the model for the typed Grid.
public static GetTypedGrid ( this content ) : GridDataModel
content this The parent content item.
return GridDataModel

GetTypedGrid() public static method

Gets the model for the typed Grid.
public static GetTypedGrid ( this content, string propertyAlias ) : GridDataModel
content this The parent content item.
propertyAlias string The alias of the property.
return GridDataModel

GetTypedGridHtml() public static method

Gets the HTML for the Grid model based on the specified framework.
public static GetTypedGridHtml ( this html, GridDataModel model, string framework = DefaultFramework ) : System.Web.HtmlString
html this The instance of HtmlHelper.
model GridDataModel The Grid model to be rendered.
framework string The framework used to render the Grid.
return System.Web.HtmlString

GetTypedGridHtml() public static method

Gets the HTML for the Grid model.
public static GetTypedGridHtml ( this content, HtmlHelper html ) : System.Web.HtmlString
content this The parent content item.
html HtmlHelper The instance of HtmlHelper.
return System.Web.HtmlString

GetTypedGridHtml() public static method

Gets the HTML for the Grid model.
public static GetTypedGridHtml ( this property, HtmlHelper html, string framework = DefaultFramework ) : System.Web.HtmlString
property this The property holding the Grid model.
html HtmlHelper The instance of HtmlHelper.
framework string The framework used to render the Grid.
return System.Web.HtmlString

GetTypedGridHtml() public static method

Gets the HTML for the Grid model.
public static GetTypedGridHtml ( this content, HtmlHelper html, string propertyAlias, string framework ) : System.Web.HtmlString
content this The parent content item.
html HtmlHelper The instance of HtmlHelper.
propertyAlias string The alias of the property.
framework string The framework used to render the Grid.
return System.Web.HtmlString

GetTypedGridHtml() public static method

Gets the HTML for the Grid model based on default options.
public static GetTypedGridHtml ( this html, IPublishedContent content ) : System.Web.HtmlString
html this The instance of HtmlHelper.
content IPublishedContent The parent content item.
return System.Web.HtmlString

GetTypedGridHtml() public static method

Gets the HTML for the Grid model based on default options.
public static GetTypedGridHtml ( this html, IPublishedContent content, string propertyAlias ) : System.Web.HtmlString
html this The instance of HtmlHelper.
content IPublishedContent The parent content item.
propertyAlias string The alias of the property.
return System.Web.HtmlString

GetTypedGridHtml() public static method

Gets the HTML for the Grid model.
public static GetTypedGridHtml ( this html, IPublishedContent content, string propertyAlias, string framework ) : System.Web.HtmlString
html this The instance of HtmlHelper.
content IPublishedContent The parent content item.
propertyAlias string The alias of the property.
framework string The framework used to render the Grid.
return System.Web.HtmlString

GetTypedGridHtml() public static method

Gets the HTML for the Grid model based on the specified framework.
public static GetTypedGridHtml ( this html, IPublishedProperty property, string framework = DefaultFramework ) : System.Web.HtmlString
html this The instance of HtmlHelper.
property IPublishedProperty The property holding the Grid model.
framework string The framework used to render the Grid.
return System.Web.HtmlString