How do I make a WPF data template fill the entire width of the listbox?

I also had to set:

HorizontalContentAlignment="Stretch"

on the containing ListBox.

Leave a Comment