I\'m styling the items in a WPF ListBox, and want to put a border around each item. With BorderThickness set to 1, for example, the top-bottom borders
ListBox
BorderThickness
You may add
Margin="0,0,0,-1" SnapsToDevicePixels="True"
to the border definition