HandyOrg / HandyOrg/HandyControl
CheckComboBox 触发改变事件,返回数据一直为空
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
通过ListBoxAttach.SelectedItems绑定后,触发选中事件后,赋值一直是 null
并且如果是绑定的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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the CheckComboBox behavior with ItemsSource bound to List and List, using ListBoxAttach.SelectedItems. Inspect the selection-change and attached-property handling for the point where the bound value remains null or generic items are not initialized as selected. Done means selected items are returned through the binding and initial selections work for both list types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100