Skip to content

Unknown attachable member 'ListViewExtensions.Command' on element 'ListView' #3078

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task
antokhio opened this issue Dec 12, 2019 · 2 comments · Fixed by #3209
Closed
1 task

Unknown attachable member 'ListViewExtensions.Command' on element 'ListView' #3078

antokhio opened this issue Dec 12, 2019 · 2 comments · Fixed by #3209
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior Completed 🔥

Comments

@antokhio
Copy link

Describe the bug

https://docs.microsoft.com/en-us/windows/communitytoolkit/extensions/listviewextensions
this page states command extension for list view, but all i get is
Unknown attachable member 'ListViewExtensions.Command' on element 'ListView'

https://stackoverflow.com/questions/59301716/unknown-attachable-member-listviewextensions-command-on-element-listview

also seems missing on https://github.com/windows-toolkit/WindowsCommunityToolkit/blob/master/Microsoft.Toolkit.Uwp.UI/Extensions/ListViewBase/ListViewExtensions.cs

  • Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:

Steps to Reproduce

Steps to reproduce the behavior:


<ListView ... extensions:ListViewExtensions.Command= < error

Expected behavior

Command added

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

NuGet Package(s): 
Microsoft.Toolkit 6.0.0
Package Version(s): 

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [*] May 2019 Update (18362)
- [ ] Insider Build (build number: )

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [*] May 2019 Update (18362)
- [ ] Insider Build (xxxxx)

Device form factor:
- [*] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [ ] 2017 (version: )
- [*] 2019 (version: 16.4.0) 
- [ ] 2019 Preview (version: )

Additional context

Add any other context about the problem here.

@antokhio antokhio added the bug 🐛 An unexpected issue that highlights incorrect behavior label Dec 12, 2019
@ghost ghost added the needs triage 🔍 label Dec 12, 2019
@Kyaa-dost Kyaa-dost added help wanted Issues identified as good community contribution opportunities and removed needs triage 🔍 labels Dec 18, 2019
@deanchalk
Copy link

I dont mind taking a look at this one if you assign it to me - thanks

@deanchalk
Copy link

Well, having a look I can see that ListViewExtensions never had a Command attached property declared (I had a look at the git history). Could this be a mistake on the documentation side ?
I'd happily implement the missing code if thats the right way forward :)

@ghost ghost added the In-PR 🚀 label Apr 1, 2020
@ghost ghost added Completed 🔥 and removed help wanted Issues identified as good community contribution opportunities In-PR 🚀 labels May 28, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jul 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior Completed 🔥
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants