File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Microsoft.Toolkit.Uwp.SampleApp/SamplePages/WrapPanel Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 3232 </Grid>
3333 </DataTemplate>
3434 <Style TargetType="ListViewItem">
35+ <!-- Change those values to change the WrapPanel's children alignment -->
36+ <Setter Property="VerticalContentAlignment" Value="Center" />
37+ <Setter Property="HorizontalContentAlignment" Value="Center" />
3538 <Setter Property="Margin" Value="0" />
3639 <Setter Property="Padding" Value="0" />
40+ <Setter Property="MinWidth" Value="0" />
41+ <Setter Property="MinHeight" Value="0" />
3742 </Style>
3843 </Page.Resources>
3944
4954 HorizontalSpacing="@[HorizontalSpacing:Slider:5:0-200]@" />
5055 </ItemsPanelTemplate>
5156 </ItemsControl.ItemsPanel>
52- <ListView.ItemContainerStyle>
53- <Style TargetType="ListViewItem">
54- <!-- Change those values to change the WrapPanel's children alignment -->
55- <Setter Property="VerticalContentAlignment" Value="Center" />
56- <Setter Property="HorizontalContentAlignment" Value="Center" />
57- <Setter Property="Padding" Value="0" />
58- <Setter Property="MinWidth" Value="0" />
59- <Setter Property="MinHeight" Value="0" />
60- </Style>
61- </ListView.ItemContainerStyle>
6257 </ListView>
6358 </Grid>
6459</Page>
You can’t perform that action at this time.
0 commit comments