Skip to content

Pad Layout Renderer

Xharze edited this page Sep 29, 2012 · 1 revision

Applies padding to another layout output.

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

##Configuration Syntax

${pad:padCharacter=Char:padding=Integer:fixedLength=Boolean
     :inner=Layout}

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

${other:padCharacter=Char}

##Parameters ###Transformation Options

  • padCharacter - Padding character. Char Default:
  • padding - Number of characters to pad the output to. Integer
    Positive padding values cause left padding, negative values cause right padding to the desired width.
  • fixedLength - Indicates whether to trim the rendered text to the absolute value of the padding length. Boolean Default: False
  • inner - Wrapped layout. Layout

Clone this wiki locally