この質問は、stackoverflowでの私の最後の質問の結果です。特定のアイテムに自動的にスクロールする問題は解決しましたが、選択したアイテムの背景を透明または白に設定したいと思います。これどうやってするの??
アップデート1
<ListBox ItemsSource="{Binding SomeData}"
SelectedIndex="{Binding SomeIndex}">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel Orientation="Vertical" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
<DataTemplate>
<SomeChart DataContext="{Binding }" />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
この例では、選択したアイテムの色をカスタマイズする方法が必要です。