I have styled an WPF ListBox. I\'m developing under Windows 8. After setup the style to be as follows (see image), when I test the application in Windows 7, the margin is not th
The default ListBoxItem contains a border. The ListBoxItem also specifies a padding which is inherited by this Border. Its the Padding DP that needs to be set like what Andy mentioned.