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