I state that I am currently not able to recreate the same situation.
When creating a Custom View I got from Props two values (two keys), TextColor and Color, not custom, not declared by me in code.
In the tutorial that Erel has indicated there is this sentence:
"The Props map holds the custom properties"
which makes think that only custom properties are received via the Map. But I am certain that I did not have hallucinations. Maybe I initially created those properties, then I removed them from the code but I have continued to receive them. This may depend on some compiled files? How to check?
Also, after some modifications, the Custom View type library created is not recognized as such by the environment (the Add View - Custom View menu is disabled), although it functions well as class.
However, I understand that I should try to recreate those situations and post the projects.
When creating a Custom View I got from Props two values (two keys), TextColor and Color, not custom, not declared by me in code.
In the tutorial that Erel has indicated there is this sentence:
"The Props map holds the custom properties"
which makes think that only custom properties are received via the Map. But I am certain that I did not have hallucinations. Maybe I initially created those properties, then I removed them from the code but I have continued to receive them. This may depend on some compiled files? How to check?
Also, after some modifications, the Custom View type library created is not recognized as such by the environment (the Add View - Custom View menu is disabled), although it functions well as class.
However, I understand that I should try to recreate those situations and post the projects.
Last edited: