@using static WebWindowComplex.LayoutConst @for (int i = 0; i < ItemTableList.Count; i++) { @for (int j = 0; j < maxCol; j++) { CompileStep cs = CompileStep.Frame; int ind = -1; @if (j + 1 == ItemTableList[i].Col) { @if (ItemTableList[i].Type is Json.WindowConst.AreaTypes.FRAME) { cs = CompileStep.Frame; } else if (ItemTableList[i].Type is Json.WindowConst.AreaTypes.SPLIT) { cs = CompileStep.Split; ind = ItemTableList[i].IndexItem; } else if (ItemTableList[i].Type is Json.WindowConst.AreaTypes.SASH) { cs = CompileStep.Sash; ind = ItemTableList[i].IndexItem; } else if (ItemTableList[i].Type is Json.WindowConst.AreaTypes.FILL) { cs = CompileStep.Fill; ind = ItemTableList[i].IndexItem; } } else { } } }
@FillTable(i, j)