On Windows ListView doesn't visualise items when they have binded command with a parameter #22731
Labels
area-controls-listview
ListView and TableView
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
I hope a sample solution is selfdescriptive.
![image](https://private-user-images.githubusercontent.com/19351085/335068295-39ce861e-3336-4fbd-8295-8ef527588887.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3MTE4MzksIm5iZiI6MTcyMTcxMTUzOSwicGF0aCI6Ii8xOTM1MTA4NS8zMzUwNjgyOTUtMzljZTg2MWUtMzMzNi00ZmJkLTgyOTUtOGVmNTI3NTg4ODg3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDA1MTIxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYwYjdmMWY4MmU5YjNlMDJiMjAyYzEyNmIyMjExNDFlZDZiOWM3OGI3ZjU4MTEzMmE2ZjUwODM1N2Q4ZTM4OTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.-yWEpQywETQaSOoFPLTqgzcxJUe5nbIxzyx8gzX9XgI)
Screenshots:
from windows app
from Android app
![image](https://private-user-images.githubusercontent.com/19351085/335069124-d48c1b98-0e02-4243-963a-18ad6fe429f2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3MTE4MzksIm5iZiI6MTcyMTcxMTUzOSwicGF0aCI6Ii8xOTM1MTA4NS8zMzUwNjkxMjQtZDQ4YzFiOTgtMGUwMi00MjQzLTk2M2EtMThhZDZmZTQyOWYyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDA1MTIxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRmMTk2NGIwMGEyNzhiMDIwODY3MmJmMjIzYmZmN2I1OTk0MGQzNjA0OTlmYzM4ZWEzZDBkM2QxZTIxYzEwZmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._ZCOAKd1g1xneNUuRZ_8sYQS3GG_Gex23VSk51JQuUA)
Windows app in debug shows binding failures:
'Name' property not found on 'ListViewMVVMFun.MainPageViewModel', but if I remove binding to command - that binding failures dissapear
Steps to Reproduce
Xaml causing the issue :
in MainPage.xaml.cs
in MainPage.xaml.cs
in MainPageViewModel.cs
Link to public reproduction project repository
https://github.com/AlexShovkoplyas/ListViewMVVMFun
Version with bug
8.0.21 SR4.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 11 (.net8.0-windows10.0.19041.0)
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: