private IReadOnlyList <int> GetAvailableResponsiveRows() { var rows = new List <int>(); foreach (var child in this.AssociatedObject.Children) { var reponsiveRow = ResponsiveGrid.GetRow(child); if (rows.All(r => r != reponsiveRow)) { rows.Add(reponsiveRow); } } return(rows.OrderBy(r => r).ToList()); }
private IReadOnlyList <BindableObject> GetChildrenByRow(int row) { var items = new List <BindableObject>(); foreach (var child in this.AssociatedObject.Children) { var reponsiveRow = ResponsiveGrid.GetRow(child); if (reponsiveRow == row) { items.Add(child); } } return(items); }