我希望我的組合框寬度適合它的視圖框容器。<Viewbox StretchDirection="Both" Stretch="Uniform" Margin="5,5,5,5"> <ComboBox ItemsSource="{Binding item}"/></Viewbox>組合框占據所選項目的寬度。 查看完整描述