I have ListView with five columns. And those columns have width. But there is a problem with empty space after last column. I want to get rid of it. Unfortunatelly, I was't able to find out how to do that.
Situation now:
As you can see, there is empty space after column 5. I simply want to set columns 2 - 5 static width (let's say 100), align them somehow to right and let column 1 fill the rest of remaining space. So when I resize the main window, those four columns should have still the same size, but first one should be wider.
XAML:
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<ListView Name="ListView1" Grid.Column="0" Width="Auto" >
<ListView.View>
<GridView>
<GridViewColumn Header="Column1" Width="200"/>
<GridViewColumn Header="Column2" Width="100"/>
<GridViewColumn Header="Column3" Width="100"/>
<GridViewColumn Header="Column4" Width="100"/>
<GridViewColumn Header="Column5" Width="100"/>
</GridView>
</ListView.View>
</ListView>
</Grid>