bodong1987 / Avalonia.PropertyGrid

A property edit control in Avalonia like DevExpress's PropertyGridControl.
https://www.cnblogs.com/bodong
MIT License
169 stars 18 forks source link

Does this support displaying the Fields of a class too? #23

Closed MediaMoots closed 6 months ago

MediaMoots commented 6 months ago

I have many classes that all use Fields, does this support it? Thank you!

bodong1987 commented 6 months ago

I have many classes that all use Fields, does this support it? Thank you!

You can implement an ICustomTypeDescriptor to wrap your class, and then return your own PropertyDescriptor.