IsSelected

Version: - boolean  

Summary

Returns True if the service point is selected. 

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("IsSelected")

Check if tag has a value

@if(!bool.IsNullOrWhiteSpace(GetBoolean("IsSelected"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("IsSelected"); }

Outputting the template tag

<!--@IsSelected-->

Check if boolean has a value

<!--@If Defined(@IsSelected)--> Let's output this tag here: <strong><!--@IsSelected--></strong> <!--@EndIf(@IsSelected)-->