自定义ListBoxItem适应项目宽度 主要是要设置 HorizontalContentAlignment 的值 Stretch,而不是 HorizontalAlignment <ListBox Name="KeChengListBox" ItemsSource="{Binding RenKeList}" Grid.Row="0"> <ListBox.ItemContainerStyle>