UWP: ListViewItem remove spacing

Problem:
Annotation 2018-11-28 162601
Space is not balance between list view item.

Solution:

<Setter Property=”ItemContainerStyle”>
<Setter.Value>
<Style TargetType=”ListViewItem”>
<Setter Property=”Padding” Value=”2″/>
<Setter Property=”Margin” Value=”0″/>
<Setter Property=”MinHeight” Value=”0″/>
<Setter Property=”MinWidth” Value=”0″/>
</Style>
</Setter.Value>
</Setter>

Result:
Annotation 2018-11-28 163035

Leave a Reply