ListBoxItem lstitem = this.list.ItemContainerGenerator.ContainerFromItem(m) as ListBoxItem;

其中this.list是使用了mvvm模式绑定了数据集的ListBox

相关文章:

  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-04
猜你喜欢
  • 2022-12-23
  • 2021-10-23
  • 2021-09-16
  • 2022-12-23
  • 2021-08-14
  • 2021-12-05
  • 2021-09-25
相关资源
相似解决方案