Parameter.IsHandledAsFacet
Version: - booleanSummary
Returns True if the parameter is handled as facet.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetBoolean("Parameter.IsHandledAsFacet")
Check if tag has a value
@if(!bool.IsNullOrWhiteSpace(GetBoolean("Parameter.IsHandledAsFacet"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
bool storedTag = GetBoolean("Parameter.IsHandledAsFacet");
}
Outputting the template tag
<!--@Parameter.IsHandledAsFacet-->
Check if boolean has a value
<!--@If Defined(@Parameter.IsHandledAsFacet)-->
Let's output this tag here: <strong><!--@Parameter.IsHandledAsFacet--></strong>
<!--@EndIf(@Parameter.IsHandledAsFacet)-->