Try your search with a different keyword or use * as a wildcard.
@model MenuItemModel @await Html.PartialAsync("_MenuItem.cshtml", Model) @foreach (var item in Model.ChildrenItems) { @if (item.Picture is not null) { } @item.Title @if (item.ChildrenItems.Any()) { foreach (var menuItem in item.ChildrenItems) { @await Html.PartialAsync("_MenuItem.cshtml", menuItem) } } @if (Model.NumberOfItemsPerGridRow > 0 && (Model.ChildrenItems.IndexOf(item) + 1) % Model.NumberOfItemsPerGridRow == 0) { } }