ItemPublisher:Items.Paging.PagesX.EndsWithLastPage

Version: - boolean  

Summary

Returns True if the current range ends with last page

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("ItemPublisher:Items.Paging.PagesX.EndsWithLastPage")

Check if tag has a value

@if(!bool.IsNullOrWhiteSpace(GetBoolean("ItemPublisher:Items.Paging.PagesX.EndsWithLastPage"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("ItemPublisher:Items.Paging.PagesX.EndsWithLastPage"); }

Outputting the template tag

<!--@ItemPublisher:Items.Paging.PagesX.EndsWithLastPage-->

Check if boolean has a value

<!--@If Defined(@ItemPublisher:Items.Paging.PagesX.EndsWithLastPage)--> Let's output this tag here: <strong><!--@ItemPublisher:Items.Paging.PagesX.EndsWithLastPage--></strong> <!--@EndIf(@ItemPublisher:Items.Paging.PagesX.EndsWithLastPage)-->