I'm working on a Windows Store App. I'm new to XAML development.
I'm trying to get some elements within a Grid to be sized relative to each other. After looking at questions like this (What does the WPF star do (Width="100*")) I thought I had it all figured out. The following example does not seem to do what I expect however.
Instead of seeing 'Foo' on the left and 'Bar' on the further on the right (since Foo's column should be six times the size), I just see 'FooBar'. Anyone know what is going on?
<Grid Margin="10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="6*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Text="Foo" />
<TextBlock Grid.Column="1" Text="Bar" />
</Grid>