I try to do a list of columns on a window and I want to have the same result than in a Grid when I use the *.
<ListView ItemsSource="{Binding UcColumns}"
HorizontalContentAlignment="Stretch"
VerticalAlignment="Stretch"
ScrollViewer.VerticalScrollBarVisibility="Disabled"
ScrollViewer.HorizontalScrollBarVisibility="Disabled">
<ListView.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" Margin="0"
Orientation="Horizontal" Background="WhiteSmoke"
>
</WrapPanel>
</ItemsPanelTemplate>
</ListView.ItemsPanel>
</ListView>
The problem is that the Wrappanel content width and height is depending of it proper content but not of the window size.
I hope you can help me.
Thx.