DwPaging.NextButtonImage
Version: - stringSummary
Returns the image of the Next button
Settings
The value is based on the Image field in the paragraph settings.
(Page - Paragraph - Modules - Paging - 'Next' button image)
Remarks
The tag is available when 'Image' or 'Text and image' is selected in 'Next' button type' in paragraph settings and you render a page where it's possible to go to a next page.
Examples
Outputting the template tag
@GetString("DwPaging.NextButtonImage")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("DwPaging.NextButtonImage"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("DwPaging.NextButtonImage");
}
Outputting the template tag
<!--@DwPaging.NextButtonImage-->
Check if string has a value
<!--@If Defined(@DwPaging.NextButtonImage)-->
Let's output this tag here: <strong><!--@DwPaging.NextButtonImage--></strong>
<!--@EndIf(@DwPaging.NextButtonImage)-->