Skip to main content

ForEachRow

«ForEachRow(column_template,[column_begin_template],[column_end_template],[skip_if_one_column])»

Position Parameter Description
1 Column Template The template to expand for each column
2 Column Begin Template (optional) The template to expand before columns
3 Column End Template (optional) Do not expand on a single column (“true” or “false”)

Calls the specified template (passed as a parameter to this Text Command) for each row in the TableRows variable. Use the «?Set(variable_name,value)» string provider to set this variable. For each row iterated, the variable RowNum is incremented and its value can be queried using the «?Get(variable_name)» string provider.

Note

This Text Command is used in the “g” template for XAML.