How to make a grid in a DataTemplate for a ItemTemplate auto-size to ListBox width?
- by Robert Iagar
So I have the following DataTemplate for a ListBox.ItemTemplate:
<DataTemplate x:Key="Tweet">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="50"/>
<ColumnDefinition Width="Auto"/>
…