Context menu grays out from command bind. #16514
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
I have the same issue as @KillzXGaming, he has a point and it does look like a bug, not a missing config on the user end. I created an issue for this with the info here: |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
When a MenuItem Command is binded while in a DataTemplate, it seems to gray out and does not work.
Note that all other values bind correctly from the same model, just not the command.
To Reproduce
Use xaml
cs of view model
The same issue occurs if I use a relay command instead.
Expected behavior
The menu should display normally and register a proper hit.
Avalonia version
11.1.1
OS
Windows
Additional context
No response
Full app to replicate
App.zip
Beta Was this translation helpful? Give feedback.
All reactions