I have a CollectionView which I want to use the minimum necessary width. The containing Grid has the following ColumnDefinitions:
<Grid.ColumnDefinitions><ColumnDefinition Width="Auto"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
And the code for the CollectionView is as follows:
<d:CollectionView.ItemsSource>
1
2
3
4
5
6
7
8
9
10
11
12
</d:CollectionView.ItemsSource>
<CollectionView.ItemTemplate>
↧
Using the Minimum Width for CollectionView
↧