效果如图 关键代码 <ListBox Name="imageListBox" ItemsSource="{Binding }" Width="{Binding ElementName=listBoxShowImages,Path=Width,Mode=O