@*   Xafari Framework version : 17.2.3011.1336   *@

@using DevExpress.ExpressApp.Model
@using Xafari.Mvc.Layout

@model LayoutGroupContainer

@{
    IModelLayoutGroup model = this.Model.Model;
    if (model.Count < 2)
    {
        @Html.Xafari().RelativePartial("_ProcessGroupItemsVertically")
    }
    else
    {
        this.ViewData[LayoutGroupContainer.ControlPartialViewKey] = LayoutGroupContainer.GroupItemsHorizontallyNewStyleControlTemplatePartialView;
        @Html.Xafari().RelativePartial("_LayoutContentControls")
    }
}


