Repository navigation
PropertyGrid: how to apply custom editor or custom property resolver? #811
Answered
by
SamirKharchi
SamirKharchi
asked this question in
Q&A
|
Hi, I am trying to use the PropertyGrid control and would like to show a custom UI for a custom property type (a user defined class, let's say TestClass) and I wrote a custom editor (followed documentation here https://hosseini.ninja/handycontrol/extend_controls/propertyGrid/). Now if I understood it correctly the property resolver takes care of the type editor construction when the type is encountered by the PropertyGrid.
Thank you for any info or help! P.S.: It would be nice if the demo covered more advanced topics like customization. |
Answered by
SamirKharchi
May 6, 2021
Replies: 1 comment
|
Ok, found out that all I needed was to use the EditorAttribute accordingly with my editor type. This should go into the docs. |
0 replies
Answer selected by
ghost1372
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, found out that all I needed was to use the EditorAttribute accordingly with my editor type. This should go into the docs.