@using EgwCoreLib.Razor
@Traduci("CWAreaS_Sash") @(CurrSashGroup.SashList.Count == 1 ? "" : (IndexSash + 1))
@if (!SashDimEditList.Contains(IndexSash)) { @if(!BaseUser && CurrSashGroup.SashList.Count > 1) { } } else { @if (!BaseUser && (!(CurrAnta.AreaList[0] is Split) || CurrAnta.AreaList[0].AreaList.Count == 0)) { } }
@if (BaseUser) { } else { }
@Traduci("CWAreaS_Dimension") @if(BaseUser) { @(CurrSashDim.SelMeasureType.ToString() switch { "Absolute" => "mm", "Proportional" => "*", "Percentage" => "%", _ => CurrSashDim.SelMeasureType.ToString() }) } else { }
@if(BaseUser) {
} else {
}
@if (SashDimEditList.Contains(IndexSash)) {
@Traduci("CWAreaS_Joints")
@if (BaseUser) { } else { }
@* Joint top left e joint top right *@ @for (int i = CurrSashDim.JointList.Count - 1; i >= 2; i--) {
} @* Joint bottom left e joint bottom right *@
@Traduci("CWAreaS_Element")
@foreach (var element in CurrSashDim.ElementDimensionList) { if ((CurrSashDim.ElementDimensionList.Count == 5 && element.nIndex == 4) || (CurrSashDim.ElementDimensionList.Count == 6 && (element.nIndex == 4 || element.nIndex == 5))) { continue; } else {
} }
}