How to force UIElement to implement a property

1 posts, 0 answers
  1. Alaa
    Alaa avatar
    28 posts
    Member since:
    Jun 2014

    Posted 26 Jan 2017 Link to this post


    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.
Back to Top