How do I make a WPF data template fill the entire width of the listbox? June 10, 2023 by Tarik I also had to set: HorizontalContentAlignment="Stretch" on the containing ListBox.