Gallery.List.ButtonForward.Type

Version: - string  

Summary

Returns the type of the Forward button in frontend.

Settings

The value is generated automatically. The link text/image is based on the Forward button input field and radio buttons in the Paging section for the paragraph module.
(Page Paragraph > Module tab > Paging section > Forward button).

Remarks

The 3 types are:

  1. Text
  2. Image
  3. Text and Image

Examples

Outputting the template tag

@GetString("Gallery.List.ButtonForward.Type")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Gallery.List.ButtonForward.Type"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Gallery.List.ButtonForward.Type"); }

Outputting the template tag

<!--@Gallery.List.ButtonForward.Type-->

Check if string has a value

<!--@If Defined(@Gallery.List.ButtonForward.Type)--> Let's output this tag here: <strong><!--@Gallery.List.ButtonForward.Type--></strong> <!--@EndIf(@Gallery.List.ButtonForward.Type)-->