Skip to content
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

Feature: ICustomTypeDescriptor support in bindings #5225

Open
antrv opened this issue Dec 25, 2020 · 2 comments
Open

Feature: ICustomTypeDescriptor support in bindings #5225

antrv opened this issue Dec 25, 2020 · 2 comments

Comments

@antrv
Copy link

antrv commented Dec 25, 2020

Is your feature request related to a problem? Please describe.
WPF supports binding for objects implementing ICustomTypeDescriptor interface (aka dynamic properties). It would be good Avalonia also supports ICustomTypeDescriptor in bindings.
I made PoC implementation of the IPropertyAccessorPlugin, however it needs value change notification support (PropertyDescriptor.SupportsChangeEvents).

Describe the solution you'd like
The PoC implementation is here https://github.com/antrv/samples/tree/master/Avalonia-ICustomTypeDescriptor

@antrv antrv changed the title ICustomTypeDescriptor support in bindings Feature: ICustomTypeDescriptor support in bindings Dec 25, 2020
@antrv
Copy link
Author

antrv commented Dec 25, 2020

Probably I will implement this myself if I figure out how weak events work in bindings.

@maxkatz6
Copy link
Member

maxkatz6 commented May 25, 2022

We have support for IReflectableType #8119 now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants