我有一个数据绑定和项模板化的ListBox:
<ListBox x:Name="lbLista"
ScrollViewer.VerticalScrollBarVisibility="Visible">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<CheckBox IsChecked="{Binding Deleteable, Mode=TwoWay}" />
<Label Content="{Binding Name}" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
这些项可以正常显示,它们来自于一个ObservableCollection。
问题在于出现了滚动条,但是无法使用——它没有可以拖动的手柄。我已经尝试在ListBox上设置一些ScrollView附加属性,但它们并没有改变这种情况。