I'm trying to align my WrapPanel
to have the same spacing size, although I can't figure out how. Here's an example of what I want,
XAML Code:
<ListBox Grid.Row="1" ItemsSource="{Binding HolidayGenerator}" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<toolkit:WrapPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
<DataTemplate>
<CheckBox Content="{Binding Name}" IsChecked="{Binding IsSelected, Mode=TwoWay}" HorizontalAlignment="Right" />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
Any help is greatly apperciated.