Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

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

Closed

Description

@antokhio

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.

Activity

  1. added
    bug 🐛An unexpected issue that highlights incorrect behavior
    on Dec 12, 2019
  2. added
    help wantedIssues identified as good community contribution opportunities
    and removed on Dec 18, 2019
  3. deanchalk commented on Mar 27, 2020

    @deanchalk

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

  4. deanchalk commented on Mar 27, 2020

    @deanchalk

    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 :)

  5. ghost removed
    help wantedIssues identified as good community contribution opportunities
    on May 28, 2020
  6. ghost locked as resolved and limited conversation to collaborators on Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Completed 🔥bug 🐛An unexpected issue that highlights incorrect behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions