Skip to content

When Layout Renderer

Xharze edited this page Sep 29, 2012 · 1 revision

Only outputs the inner layout when the specified condition has been met.

Supported in .NET, Silverlight, Compact Framework and Mono.

##Configuration Syntax

${when:when=Condition:inner=Layout}

or by using ambient property to modify output of other layout renderer:

${other:when=Condition}

##Parameters ###Transformation Options

  • when - Condition that must be met for the inner layout to be printed. Condition Required.
  • inner - Wrapped layout. Layout

Clone this wiki locally