Add this code to your ListBox
:
<ListBox.ItemContainerStyle>
<Style TargetType="ListBoxItem">
<Setter Property="Padding" Value="0" />
</Style>
</ListBox.ItemContainerStyle>
This will set the Padding
of the ListBoxItem
container to 0
. The result looks like this:
CLICK HERE to find out more related problems solutions.