private void Render() { try { var category = ItemSource.GroupByCategory(); foreach (var pair in category) { if (pair.Value.IsNullOrEmpty()) { continue; } Frame catFrame = new Frame { Style = (Style)HelperFunctions.GetResourceValue("MenuCategoryFrame") }; var catFrameCont = new StackLayout(); catFrame.Content = catFrameCont; Container.Children.Add(catFrame); if (pair.Key != "All") { catFrameCont.Children.Add(new Label { Text = pair.Key, Style = (Style)HelperFunctions.GetResourceValue("CategoryHeadLabel") }); } this.RenderLinks(pair.Value, catFrameCont); } } catch (Exception ex) { EbLog.Error(ex.Message); } }