<ListBox Name="myListBx" ItemsSource="{Binding Collection}" Margin="5,5"
SelectedValuePath="ColId"
SelectedValue="{Binding Path=ColId}"
SelectionMode="Multiple"
BorderThickness="0" Background="{x:Null}" BorderBrush="{x:Null}"
ScrollViewer.VerticalScrollBarVisibility ="Auto">
<ListBox.ItemTemplate>
<DataTemplate>
// blabla
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
私の ListBox には非常に多くの要素が含まれており、実際にはスクロールバーが機能するはずですが、表示されません。私は何か間違ったことをしていますか?
ありがとう