Skip to content
RobertTheGrey edited this page Jan 12, 2013 · 1 revision

<if>

Forms a part of an if/elseif/else conditional structure.

<if condition="x">anyXml</if>

Results in C#:

if(x)
{
  //anyXml-generated-code
}

Material in an <if> element will only render if the condition evaluates to true.

Alias: <test if="">
Clone this wiki locally