int i=0; foreach(var key in Data.Keys) { ContainerGrid.Rows.Add(new RowDefinition()); TextBlock tb = new TextBlock() { Text = key }; tb.SetValue(Grid.Column, i++); ContainerGrid.Children.Add(tb); TextBlock tb2 = new TextBlock() { Text = value }; tb.SetValue(Grid.Column, i); tb.SetValue(Grid.Row, 1); ContainerGrid.Children.Add(tb2); }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.