Clear Dynamic Properties
As I am aware, I can set the dynamic properties by using setProperty function.
For example, I would have a stylesheet which appears to be like this -
So, in my code I would set something like
During run time, if I want change the color of my label, I may have to do something like this
This would remove the previous property and set the new one.
Here is my question.
Here I know the property value, so I could easily set it to false.
Is there a way that will help me to clear all properties without specifying them or even without knowing them?
After I ask the question, I exactly tried the same
dynamicPropertyNamesand achieved the result I wanted.