HandyOrg / HandyOrg/HandyControl
怎么从Transfer控件的SelectionChanged的EventArgs中拿到AddedItems?
Open
Nobody has claimed this yet.
:factory: enhancement
- Dominant language
- C#
- Stars
- 7.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
private void Transfer_OnSelectionChanged(object sender, SelectionChangedEventArgs e) {}
e.AddItems[0]强转KeyValuePair<object,object>时报错,
请问该如何拿到AddedItems里绑定的数据?
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 with Transfer_OnSelectionChanged and the WPF SelectionChangedEventArgs e.AddItems value; reproduce the failing cast and inspect the Transfer control's item type and binding shape. Done means verifying how the bound data can be retrieved from AddedItems with a focused example.
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
- 30/100