In WPF, I am having a heck of a time trying to get a grid to size properly.
I have the following layout for my grid:
*
means fill or share. If you had two with *
then they would share the width evenly.
<ColumnDefinition Width="*"/>
Seems I found a solution after a bit more tinkering around.
The problem was: <ColumnDefinition Width="Auto"/>
This was causing the column to fit to the content. I changed it to: <ColumnDefinition />
This causes the column to fit to the empty space left in the parent container, regardless of content size.