@using static WebWindowComplex.LayoutConst @for (int i = 0; i < ItemTableList.Count; i++) { @for (int j = 0; j < maxCol; j++) { var index = RowCollapsedDict.Keys.Where(k => k <= i).LastOrDefault(); @if ((RowCollapsedDict.ContainsValue(true) && RowCollapsedDict.GetValueOrDefault(index)) && i - 1 > 0 && ItemTableList.ElementAt(i).Col > ItemTableList.ElementAt(index-1).Col){ continue; } else { CompileStep cs = CompileStep.Frame; int row = i; int ind = -1; string s = "Vai a step "; @if (j + 1 == ItemTableList[i].Col) { @if (ItemTableList[i].Type is Json.WindowConst.AreaTypes.FRAME) { cs = CompileStep.Frame; s = s + cs.ToString(); } else if (ItemTableList[i].Type is Json.WindowConst.AreaTypes.SPLIT) { cs = CompileStep.Split; ind = ItemTableList[i].IndexItem; s = s + cs.ToString() + ((ind + 1) > 0 ? (ind + 1): ""); } else if (ItemTableList[i].Type is Json.WindowConst.AreaTypes.SASH) { cs = CompileStep.Sash; ind = ItemTableList[i].IndexItem; s = s + cs.ToString() + ((ind + 1) > 0 ? (ind + 1) : ""); } else if (ItemTableList[i].Type is Json.WindowConst.AreaTypes.FILL) { cs = CompileStep.Fill; ind = ItemTableList[i].IndexItem; s = s + cs.ToString() + ((ind + 1) > 0 ? (ind + 1) : ""); } } else { } } } }
@if (ItemTableList[row].NumChild > 4) {
} @*
*@
@* @if (ItemTableList[i].Type is Json.WindowConst.AreaTypes.SASH || ItemTableList[i].Type is Json.WindowConst.AreaTypes.SPLIT) { } *@
@FillTable(i, j)