Hi,
We are using ListView and in ListView have ItemPanelTemplate in ItemPanleTemplate have been added wrap panel.Images have been added in wrap panel.
But we want to show the images alignment center, but by default images are showing left to right alignment. I have read many articles and find out that wrap panel align left to right by default.I have set also HorizontalAlignment="Center" in wrap panel, But no effect.Our code in VB.Net.
Any help regarding to that
<ListView>
<ListView.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel Width="{Binding (FrameworkElement.ActualWidth), RelativeSource={RelativeSource AncestorType=ScrollPresenter}}" HorizontalAlignment="Center"/>
</ItemsPanelTemplate>
</ListView.ItemsPanel> </ListView>