我有一个数据绑定和itemtemplated列表框:列表框的ItemTemplate与
<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>
的ITES显示细腻,他们来自一个ObservableCollection。
的问题是滚动出现,但无法使用 - 它不会有一个把手抢。我试过在ListBox上设置一些ScrollView附加属性,但它们不影响情况。
你应该真的接受原来的答案,帮助你,而不是你自己的确认。 :-) – 2009-02-27 00:46:01