A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.umbraco.com/umbraco-cms/13.latest/reference/querying/ipublishedcontent below:

IPublishedContent | Umbraco CMS

IPublishedContent | Umbraco CMS
  1. Reference
  2. Querying & Models
IPublishedContent

IPublishedContent is a strongly typed model for content, media and members and is used to render content in your views for your website.

To access the current page in your templates, copy-paste the below Razor code.

@{
    var pageName = Model.Name;
    var childPages = Model.Children;
}

<h1>@pageName</h1>

Listing and explanation of IPublishedContent properties and standard helpers for Content and Media.

Methods for IPublishedContent collections and filtering.

A library of extension methods to simplify working with IPublishedContent in collections to modify your HTML output. Examples of using IsHelpers could be injecting CSS classes for alternating rows or to modify margins.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4