This is a migrated thread and some comments may be shown as answers.

How to force UIElement to implement a property

0 Answers 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alaa
Top achievements
Rank 1
Alaa asked on 26 Jan 2017, 11:22 AM

I have a lot of UIElements in many XAML files. I need all of them to implement a property (dependency property), I can bind bool value to it with a converter.
How could I force my elements to use a property? And I want them to inherit from a class, it will need a lot of changes and time.

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Alaa
Top achievements
Rank 1
Share this question
or