DwMenuDropDownContent

Version: - string  

Summary

Returns content of drop-down in DW menu.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("DwMenuDropDownContent")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("DwMenuDropDownContent"); }

Outputting the template tag

<!--@DwMenuDropDownContent-->

Check if string has a value

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