HandyOrg / HandyControl

Contains some simple and commonly used WPF controls
https://handyorg.github.io/
MIT License
6.01k stars 1.02k forks source link

CheckComboBox 触发改变事件,返回数据一直为空 #1636

Open hua11018818 opened 3 weeks ago

hua11018818 commented 3 weeks ago

Describe the bug

通过ListBoxAttach.SelectedItems绑定后,触发选中事件后,赋值一直是 null 微信截图_20240822193920 微信截图_20240822193619 微信图片_20240822194752 并且如果是绑定的List,通过ListBoxAttach.SelectedItems绑定也没有选中

Steps to reproduce the bug

1,ItemsSource 绑定List或者List 2,ListBoxAttach.SelectedItems 设置的值始终为null,T类型时候没有初始化选中

Expected behavior

No response

Screenshots

No response

NuGet package version

None

IDE

No response

Framework type

No response

Windows version

No response

Additional context

No response