In Silverlight when I use an ListBox to display a list of items, I want the width of an element in each column to match the width of the equivalent elements displayed for all other items. I am using Grid In ItemTemplate with Auto Width Columns
For example, i want to display this:
Bob    | Marley  | 1986
Steve  | Jobs    | 2000
Bill   | Gates   | 1975
John   | Smith   | 1321
Andrew | Johnson | 2132
But i am getting this:
Bob| Marley| 1986
Steve| Jobs| 2000
Bill| Gates| 1975
John| Smith| 1321
Andrew| Johnson| 2132
I am using this code
<Grid>    
      <Grid.ColumnDefinitions>
          <ColumnDefinition Width="Auto"/>
          <ColumnDefinition Width="Auto"/>
          <ColumnDefinition Width="Auto"/>
       </Grid.ColumnDefinitions>
    <TextBlock Grid.Column="0" Text="{Binding Name}" HorizontalAlignment="Left"/>
    <TextBlock Grid.Column="1" Text="{Binding SecondName}" HorizontalAlignment="Left"/>
    <TextBlock Grid.Column="2" Text="{Binding Year}" HorizontalAlignment="LEft"/>
   </Grid>