DataGrid - binding to a property of an inherited class doesn't allow to edit its value #5670
Unanswered
FoggyFinder
asked this question in
Q&A
Replies: 1 comment
-
Workaround: make it generic type ContainerVM<'t when 't :> Foo>(...) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a base class which contains a common logic and couple of inherited classes that contains data representing as an array.
I want to populate data from DataGrid but I found no way to edit a value if property defined in a sub-class.
MCVE
The cast (
as
) here is intentional.xaml
The behavior is different from WPF where it works as is.
Any workaround is welcome.
I could remove inheritance and create totally independent classes but it would be a lot of copy-paste code.
Beta Was this translation helpful? Give feedback.
All reactions