Hi,
I currently have the issue that the rows of a grid extend over the height of the grid and overlay other layouts defined after the grid.
I defined my grid in a vertical layout like this:
<Grid.RowDefinitions>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
</Grid.ColumnDefinitions>
I'm adding rows to the grid using statements like this:
employeeDetailGrid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
var emailPhoneLabel = new Label { Text = "E" };
//emailPhoneLabel.Style = Application.Current.Resources["mLabelStyle"] as Style;
emailPhoneLabel.SetDynamicResource (Label.StyleProperty, "mLabelStyle");
employeeDetailGrid.Children.Add (emailPhoneLabel, 0, rowIndex); // column, row
rowIndex++;
Is there anything I should be doing differently in order for the Grid to adjust to my combined row height? Unfortunately I can't define a fixed row height since I don't know if the rows content will wrap.
Please let me know.
Thanks!