Groups.DwPaging.TypeOfPreviousButton
Version: - stringSummary
Returns the type of the Previous
button in frontend.
Settings
The value is based on the selection of 'Previous' button type
in the paragraph settings of the module.
(Paragraph > Module settings > Paging panel > 'Previous' button type)
Remarks
Tag is only available if Activated checkbox is enabled in Extranet module settings in Paging section.
Examples
Outputting the template tag
@GetString("Groups.DwPaging.TypeOfPreviousButton")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Groups.DwPaging.TypeOfPreviousButton"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Groups.DwPaging.TypeOfPreviousButton");
}
Outputting the template tag
<!--@Groups.DwPaging.TypeOfPreviousButton-->
Check if string has a value
<!--@If Defined(@Groups.DwPaging.TypeOfPreviousButton)-->
Let's output this tag here: <strong><!--@Groups.DwPaging.TypeOfPreviousButton--></strong>
<!--@EndIf(@Groups.DwPaging.TypeOfPreviousButton)-->