I have made a custom element that consists of a button, some labels and images etc.
I made bindable properties like TextColor, Command etc, and they all work properly when used on the individual control, but when I try to use a Style that sets those same properties, I get an error saying that TextColor is an unknown property for my control.
When I use TextColor in XAML as a property of the element, it works as expected, but the style gives me an error.
What would be the reason for this and how can I solve it?