Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockListTemplateExtensions

    Inheritance
    object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public static class BlockListTemplateExtensions

    Fields

    View Source

    DefaultFolder

    Declaration
    public const string DefaultFolder = "blocklist/"
    Field Value
    Type Description
    string
    View Source

    DefaultTemplate

    Declaration
    public const string DefaultTemplate = "default"
    Field Value
    Type Description
    string

    Methods

    View Source

    GetBlockListHtml(IHtmlHelper, BlockListModel?, string)

    Declaration
    public static IHtmlContent GetBlockListHtml(this IHtmlHelper html, BlockListModel? model, string template = "default")
    Parameters
    Type Name Description
    IHtmlHelper html
    BlockListModel model
    string template
    Returns
    Type Description
    IHtmlContent
    View Source

    GetBlockListHtml(IHtmlHelper, IPublishedContent, string)

    Declaration
    public static IHtmlContent GetBlockListHtml(this IHtmlHelper html, IPublishedContent contentItem, string propertyAlias)
    Parameters
    Type Name Description
    IHtmlHelper html
    IPublishedContent contentItem
    string propertyAlias
    Returns
    Type Description
    IHtmlContent
    View Source

    GetBlockListHtml(IHtmlHelper, IPublishedContent, string, string)

    Declaration
    public static IHtmlContent GetBlockListHtml(this IHtmlHelper html, IPublishedContent contentItem, string propertyAlias, string template)
    Parameters
    Type Name Description
    IHtmlHelper html
    IPublishedContent contentItem
    string propertyAlias
    string template
    Returns
    Type Description
    IHtmlContent
    View Source

    GetBlockListHtml(IHtmlHelper, IPublishedProperty, string)

    Declaration
    public static IHtmlContent GetBlockListHtml(this IHtmlHelper html, IPublishedProperty property, string template = "default")
    Parameters
    Type Name Description
    IHtmlHelper html
    IPublishedProperty property
    string template
    Returns
    Type Description
    IHtmlContent
    View Source

    GetBlockListHtmlAsync(IHtmlHelper, BlockListModel?, string)

    Declaration
    public static Task<IHtmlContent> GetBlockListHtmlAsync(this IHtmlHelper html, BlockListModel? model, string template = "default")
    Parameters
    Type Name Description
    IHtmlHelper html
    BlockListModel model
    string template
    Returns
    Type Description
    Task<IHtmlContent>
    View Source

    GetBlockListHtmlAsync(IHtmlHelper, IPublishedContent, string)

    Declaration
    public static Task<IHtmlContent> GetBlockListHtmlAsync(this IHtmlHelper html, IPublishedContent contentItem, string propertyAlias)
    Parameters
    Type Name Description
    IHtmlHelper html
    IPublishedContent contentItem
    string propertyAlias
    Returns
    Type Description
    Task<IHtmlContent>
    View Source

    GetBlockListHtmlAsync(IHtmlHelper, IPublishedContent, string, string)

    Declaration
    public static Task<IHtmlContent> GetBlockListHtmlAsync(this IHtmlHelper html, IPublishedContent contentItem, string propertyAlias, string template)
    Parameters
    Type Name Description
    IHtmlHelper html
    IPublishedContent contentItem
    string propertyAlias
    string template
    Returns
    Type Description
    Task<IHtmlContent>
    View Source

    GetBlockListHtmlAsync(IHtmlHelper, IPublishedProperty, string)

    Declaration
    public static Task<IHtmlContent> GetBlockListHtmlAsync(this IHtmlHelper html, IPublishedProperty property, string template = "default")
    Parameters
    Type Name Description
    IHtmlHelper html
    IPublishedProperty property
    string template
    Returns
    Type Description
    Task<IHtmlContent>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX