Listbox Separator in WPF and Omission of Final Separator
问题 I have two things I'm trying to achieve: Add a horizontal separator between listbox items in WPF. Don't show the separator at the bottom of the final listbox item. My current layout is pictured here: This shows 2 listbox items (though I have no way of knowing how many items could potentially be generated). I would like them separated by a horizontal separator, except on the last listbox item so there isn't a spare separator at the bottom of the pane. How can I achieve this in XAML? See my